[Webkit-unassigned] [Bug 59961] Implement webkit-defaultBlock execCommand, to let authors choose the default block element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 14:41:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59961


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2011-05-02 14:41:25 PST ---
It is, unfortunately, not that simple.  There are many places in our code base where the paragraph separator is assumed to be a div.  We'll have to go through editing code to find all those places and make sure to update them.

What is the syntax like?  execCommand("defaultBlock", false, "p"/"div")?

Also, does Opera's implementation accept arbitrarily element other than p and div?  I don't want to have to test this function with every single block element if possible.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list