[wp-trac] [WordPress Trac] #25352: WYSIWYG list issue with Firefox

WordPress Trac noreply at wordpress.org
Thu Sep 19 17:29:10 UTC 2013


#25352: WYSIWYG list issue with Firefox
--------------------------+------------------------------
 Reporter:  mch0lic       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Confirmed. Welcome to the wonderful world of browser inconsistencies in
 contenteditable :)
 (Note: this is a minor bug compared to WebKit inserting spans with text
 formatting on executing `execCommand('createUnorderedList')` and
 `createOrderedList`.)

 Creates 4 list items in all browsers when each line is a paragraph, i.e.
 has two line breaks between the lines that are converted to <p>s on
 pasting and then to a list. Not sure what the proper behavior should be.
 Generally paragraphs are converted to separate list items, but the example
 is one paragraph with some <br>, so seems it should create one list item.

 Probably worth it opening a ticket on
 [http://www.tinymce.com/develop/bugtracker.php TinyMCE's bug tracker] so
 the behavior can be normalized for all major browsers.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25352#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list