Currently, the editor inherits all CSS on the page where it is added. If shown in an "admin" area, it's possible some CSS will reach in to the editor causing undesired side-effects.
If you use an <iframe> for the editing area, you can get not only 1) better sandboxing, but also 2) full-page editing.
It would be cool to see this editor support full page editing, where it can accept a <!doctype html><html>...</html> value and preserve the entire structure.
Hi @sirlancelot
Does this mean that the "iframe" should cover the all area of the editor?
In the implementation I've seen (CKEditor), the content under edit is in an iframe. All other UI/Editing elements surround the iframe.
Yup, I understand.
The old version was <iframe>.
I'll add an <iframe> mode to the option.
Thank you. 馃憤
Here's an example: https://www.froala.com/wysiwyg-editor/examples/full-page