Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace is not rerndered in the editor under certain condition #529

Open
guillaumeyvo opened this issue Jul 20, 2023 · 0 comments
Open

Comments

@guillaumeyvo
Copy link

I'm facing an issue with some white are not rendered in the editor.

Angular version: 14 - 15 - 16
angular-froala-wysiwyg : 3.27 - 4.0 - 4.1

To replicate the issue

  • insert a bullet point and enter a sentence containing at least three words

  • apply some formatting style on the first word of this sentence (make sure that the white space between the first and the second word is not seleted while applying the formatting)

  • insert a nested bullet point with also a sentence.

In you angular component retrieve the value of html generated through froala wysisyg and assign it to a public variable in your component.

Use this variable as an input property to the froalaModel directive and as input of a froalaView directive You will observe that the white space next to the formatted word is not appearing in the div with the froalaModel directive but is visible in the div with froalaView directive

The issue has been replicated on this stackblitz link (if you get a message can't fin package froala-editor please kindly click on the button install package)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant