Skip to content

PrimeReact Editor adds unnecessary space while change the content #8174

Description

@bhoomesh-spe

Hello Everyone,

We have created SPFx React solution. We have used PrimeReact library in that project.

We have used the Editor component from PrimeReact library.

The editor works with initial data which passed on component load, but when the user types anything in the Editor, the actual output contains lots of spaces.

Please refer to the images below for more clarification.

Content

Image

Output:

Image

Can anyone have an idea why the editor adds unnecessary space in output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssue contains a question about the use of PrimeReact components or the products it supports

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions