Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#40809 closed defect (bug) (fixed)

TinyMCE: fix pasting when an image with caption is selected

Reported by: azaozz's profile azaozz Owned by: azaozz's profile azaozz
Milestone: 4.8 Priority: normal
Severity: normal Version:
Component: TinyMCE Keywords:
Focuses: Cc:

Description

Currently pasting when an image is selected replaces the image. This is the behavior in all editors. However pasting when an image with caption is selected leaves the image as-is and places the pasted content under it.

The fix is to replace the image and the caption with the pasted content.

Change History (1)

#1 @azaozz
7 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 40786:

TinyMCE: fix pasting while an image with caption is selected. The image and the caption should be replaced with the pasted content.

Fixes #40809.

Note: See TracTickets for help on using tickets.