Skip to content

Copy/pasting images into RichText can result in incorrect image dimensions #78342

@rickmgithub

Description

@rickmgithub

Description

When a page contains a Table block, images on the same page appear excessively enlarged in the editor and text is pushed to the right or otherwise distorted. The live front-end renders correctly.

Reproduced on test sites and persists across themes and browsers, suggesting it's a core Table block issue.

Step-by-step reproduction instructions

  1. Create a new page
  2. Add a Table block with some content
  3. Add Image blocks or other content blocks to the same page
  4. Observe that images appear excessively enlarged and text layout is distorted in the editor
  5. Preview or view the published page — it renders correctly on the front-end

Expected behaviour

The editor layout should match (or closely approximate) the front-end rendering.

Actual behaviour

Images appear excessively enlarged and text is pushed to the right or otherwise distorted in the editor. The front-end is unaffected.

Metadata

Metadata

Labels

[Block] ImageAffects the Image Block[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions