Skip to content

Selecting an image moves the surrounding text #3070

@florian-msft

Description

@florian-msft

Describe the bug
Selecting an image on the same line as a paragraph of text moves the surrounding text (line height/spacing changes)

To Reproduce
Steps to reproduce the behavior:

  1. Open a Rooster editor (for example the demo page)
  2. Add a paragraph of text
  3. At the end of the paragraph, insert a small image
  4. Select the image by clicking on it

Expected behavior
The image should be selected and the text remain unchanged

Actual behavior
The image is selected but the spacing of the surrounding text changes

Screenshots

rooster.mp4

Device Information

  • OS: Windows
  • Browser: Edge
  • Version: 137.0.3296.68

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions