froala / angular-froala-wysiwyg

Angular 4, 5, 6, 7, 8 and 9 plugin for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
736 stars 202 forks source link

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

Open guillaumeyvo opened 1 year ago

guillaumeyvo commented 1 year ago

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

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