WordPress.org

Make WordPress Core

Opened 12 months ago

#45062 new defect (bug)

tinyMCE editor breaks captions with HTML

Reported by: iantresman Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Editor Keywords:
Focuses: Cc:
PR Number:

Description

This looks similar to ticket #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:
<table>
<tr><td>Label</td><td>Description</td></tr>
<tr><td><span>Text</span></td><td>More text</td></tr>
</table>

Change History (0)

Note: See TracTickets for help on using tickets.