W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

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

From: Markus Ernst <derernst@gmx.ch>
Date: Thu, 19 May 2011 22:33:32 +0200
Message-ID: <4DD57E9C.8050301@gmx.ch>
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.
Received on Thursday, 19 May 2011 13:33:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC