Skip to content

A bug with the popup editor for inline images in the paragraph block #69678

@Alexus450

Description

@Alexus450

Description

The popup editor for the inline image in the paragraph doesn't apply any width to the image after I removed the previous width values.

Step-by-step reproduction instructions

Go to the page/post content editor. Add a paragraph block with some text, select the text so the toolbar will appear. From the toolbar, insert any inline image. Select the image, and a popup will appear with the width and alternative text options. Clear the width input and press the Apply button. After that, try adding a value for the width and press Apply. It doesn't apply the value.

Screenshots, screen recording, code snippet

Image

Environment info

WordPress version 6.7.2
Gutenberg plugin 20.5.0
FireFox 135.0
macOS Sequoia 15.3

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] MediaAnything that impacts the experience of managing media[Package] Format library/packages/format-library[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions