Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#45062 new defect (bug)

tinyMCE editor breaks captions with HTML

Reported by: iantresman's profile iantresman Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Editor Keywords: 2nd-opinion
Focuses: Cc:

Description (last modified by SergeyBiryukov)

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:
<tr><td><span>Text</span></td><td>More text</td></tr>

Change History (3)

This ticket was mentioned in Slack in #core by talldanwp. View the logs.

5 years ago

#2 @isabel_brison
5 years ago

  • Keywords 2nd-opinion added

Hi @iantresman, thanks for reporting this!

Not sure what the ideal behaviour here should be, and from the ticket you linked it seems the question has a long history, so requesting a second opinion for this.

#3 @SergeyBiryukov
5 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.