[whatwg] Pressing Enter in contenteditable: <p> or <br> or <div>?

On Tue, May 17, 2011 at 12:50 PM, Aryeh Gregor <Simetrical+w3c at gmail.com>wrote:
>
>  On Tue, May 17, 2011 at 3:19 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> > I completely disagree. As a user, I want semantics when I write my blog
> > entry on WordPress so that I can tweak presentation afterwards.  e.g. I
> have
> > frequently used em {font-style: normal; font-weight:bold;} strong
> > {text-decoration:underline; font-weight: normal;} in the past.
>
> Then the commands will completely break no matter what you do, because
> they're tied to the CSS, not the HTML element.  For instance, in this
> test case:
>

No, I apply those CSS styles only on readonly published pages so my editor
isn't affected by those rules.

- Ryosuke

Received on Tuesday, 17 May 2011 13:28:40 UTC