[whatwg] Proposal: content-style attribute for contenteditable elements

Markus Ernst derernst at gmx.ch
Thu May 19 13:33:32 PDT 2011

Am 19.05.2011 20:39 schrieb Aryeh Gregor:
> On Tue, May 17, 2011 at 4:09 AM, Markus Ernst<derernst at gmx.ch>  wrote:
>> While discussing about contenteditable elements, the WYSIWYG aspect was
>> mentioned. For real WYSIWYG in a text editor of a CMS, Blog, Forum or
>> whatever, it would be necessary for the contents of the contenteditable
>> element to:
>> - Disable the styles of the surrounding page
>> - Enable the styles of the target page
> Commonly these are the same, or close to it.

If the contenteditable region is part of the UI of a content management 
system, they are likely to be completely different.

> In the
> cases where the styles are really different, it should be fine to
> require authors to use an iframe.

Ok, I see this point.

More information about the whatwg mailing list