[wp-trac] [WordPress Trac] #45062: tinyMCE editor breaks captions with HTML

WordPress Trac noreply at wordpress.org
Sat Oct 6 23:13:04 UTC 2018


#45062: tinyMCE editor breaks captions with HTML
--------------------------+-----------------------------
 Reporter:  iantresman    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  4.9.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This looks similar to ticket [https://core.trac.wordpress.org/ticket/18311
 #18311]

 If I enter HTML into an image caption (eg. <ul> <span> <div> <table>, and
 then in tinyMCE I switch from Text to Visual, my caption breaks; sometimes
 it is reformmatted, sometimes the caption shortcode is removed.

 Test caption:[[br]]
 <table>[[br]]
 <tr><td>Label</td><td>Description</td></tr>[[br]]
 <tr><td><span>Text</span></td><td>More text</td></tr>[[br]]
 </table>

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


More information about the wp-trac mailing list