Make WordPress Core

Opened 14 years ago

Closed 11 years ago

#18134 closed defect (bug) (worksforme)

TinyMCE messes up text when its "caption" contains only a space

Reported by: szotsaki's profile szotsaki Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: TinyMCE Keywords: needs-patch
Focuses: Cc:

Description

1.) Have a long text
2.) Insert an image inside there with no link pointing anywhere and a caption that contains only a space
3.) Make some <dl>-s, numbered lists etc after that
4.) Insert a new image with full size also, and a caption with only a space.

After this everything is messed up. The whole text before the second image becomes the caption of the first image and the second image disappears.

Change History (6)

#1 @szotsaki
14 years ago

  • Cc szotsaki added
  • Component changed from General to Editor

#2 @DrewAPicture
13 years ago

  • Keywords needs-patch added
  • Version set to 3.2.1

Reproduced this in 3.2.1 and latest trunk, haven't tried earlier versions.

Last edited 13 years ago by DrewAPicture (previous) (diff)

#3 @hew
13 years ago

Related: #19389

#5 @nacin
12 years ago

  • Component changed from Editor to TinyMCE

#6 @azaozz
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Seems fixed in 3.5 (with the new media modal). Empty captions (containing only white space) are not inserted any more, only the image is inserted.

Note: See TracTickets for help on using tickets.