Re: [w3c/editing] Change default paragraph separator from <p> to <div> (#146)

"Yes" to which?

I was working on a few Firefox editor bugs and always thought this would be a good one to tackle, because the way Firefox generates line breaks is drastically out of step with other UAs, and if you don't override it, it changes what happens every time the user hits enter.  With this change, you can run execCommand("defaultparagraphseparator", false, "p") and then all browsers will output &lt;p>, which can't hurt if anyone is actually using the default Enter handling.

I would be very interested in knowing what parts of contenteditable are not overridden in common use, by the way.  E.g., where the cursor goes on clicks/key movements, default behavior for backspace/enter/etc., things like that.  If there are things that I know affect sites, it would make sense to prioritize them.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/pull/146#issuecomment-242403562

Received on Thursday, 25 August 2016 14:19:36 UTC