WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

#40809 closed defect (bug) (fixed)

TinyMCE: fix pasting when an image with caption is selected

Reported by: azaozz Owned by: 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
4 months 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.