Re: [whatwg] Ongoing work on an editing commands (execCommand()) specification

2011-03-13 Thread Aryeh Gregor
I did some research, looking at three different rich editing suites: vBulletin's WYSIWYG editor, jwysiwyg (a jQuery plugin), and TinyMCE (used by Wordpress). I also looked at CKEditor, but I don't think it uses execCommand() at all. My full notes are at

Re: [whatwg] Ongoing work on an editing commands (execCommand()) specification

2011-03-13 Thread Markus Ernst
Am 13.03.2011 21:46 schrieb Aryeh Gregor: 2) How much work should we go to to produce nice-looking markup? E.g., if the user unbolds baz in div style=font-weight:bold pFoo pBar baz /div should we produce something like div p style=font-weight: boldFoo pbBar/bbaz /div like WebKit does, or

[whatwg] selection-related IDL attributes and methods and input type

2011-03-13 Thread Mounir Lamouri
Hi, Currently, the specs say that select(), selectionStart, selectionEnd and setSelectionRange() only apply to the input element when the type is text, search, url, telephone or password. Obviously, they should also apply when type is email [1]. But, I'm wondering what should be done for types