Skip to content

Errors when inserting inline image since Gutenberg 5.1 #14123

@dianeco

Description

@dianeco

Describe the bug
Since #13737, inserting an inline image has some issues.

To Reproduce
Issue 1: Insert an inline image at the beginning of a paragraph and directly click on the Apply icon without changing the width. It duplicates the image.

error-duplicate

Issue 2: Insert an inline image at the beginning of a paragraph, change the width and click on the Apply icon. It displays "This block has encountered an error and cannot be previewed."

error-warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[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