[wp-trac] [WordPress Trac] #42830: Automatic List coding error

WordPress Trac noreply at wordpress.org
Thu Dec 7 14:48:57 UTC 2017


#42830: Automatic List coding error
--------------------------+-----------------------------
 Reporter:  Wordaspect    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.9.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 With TinyMCE Advanced Version 4.6.7 occurs an error in coding while
 switching between visual and text editor

 Step 1) writing in visual editor and assigning listing to boh lines:

 * topic 1
 * topic 2

 Step 2)  results in corrct coding in text editor

     <ul>
         <li>topic 1</li>
         <li>topic 2</li>
     </ul>

 Step 3) insrting a break and a space in the visual editor after “topic 1”

 * topic 1

 * topic 2

 Step 4) and switching to the text editor gives also a correct code, even
 so the “<br> ” is deleted:

     <ul>
         <li>topic 1</li>
         <li>topic 2</li>
         </ul>

 Step 5) but switching afterwards back to the visual code results in a
 weard coding and the text editor has following to show:

     <ul>
         <li style="list-style-type: none">
     <ul>
         <li>topic 1</li>
     </ul>
     </li>
     </ul>
     <ul>
         <li>topic 2</li>
     </ul>

 These works always like this with the mentioned steps above.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42830>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list