ngx-quill: preserveWhitespace doesn't work with reactiveForms

ngx-quill - "^25.0.1"
quill - "2.0.0-rc.2"

This is my test component template 
<quill-editor
[preserveWhitespace]="true"
[formControl]="control">
</quill-editor>
When I set the value   
this.control.setValue(<p>Hayko           Aghababyan</p>);
It shows without spaces 
Screenshot 2024-03-06 at 14 59 31

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 23 (14 by maintainers)

Most upvoted comments

@luin yep nice my test case is catching that the format prop is working again as expected 😄

looks good!

feature removed with v25.1.0