Make WordPress Core

Opened 15 years ago

Closed 13 years ago

#18134 closed defect (bug) (worksforme)

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

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

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
15 years ago

  • Cc szotsaki added
  • Component GeneralEditor

#2 @DrewAPicture
15 years ago

  • Keywords needs-patch added
  • Version3.2.1

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

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

#3 @hew
15 years ago

Related: #19389

#5 @nacin
14 years ago

  • Component EditorTinyMCE

#6 @azaozz
13 years ago

  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed

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.