Skip to content

Meta spans are not removed from htmlValue in rich text editor #6435

Closed

Description

@TatuLund

Description

image

The empty span is internally used here for cursor, the class="ql-cursor" is tripped, but the empty span remains.

Expected outcome

Empty spans should be stripped

Minimal reproducible example

Can be reproduced at https://vaadin.com/docs/latest/components/rich-text-editor#value-format

Steps to reproduce

Type "Hello world", convert it to bold and press enter before world.

Environment

Vaadin version(s): Vaadin 24.1.6

Browsers

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions