sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
457 stars 191 forks source link

[Bug]: Form control dirty true even without change #583

Open LeonardoDavinci opened 3 weeks ago

LeonardoDavinci commented 3 weeks ago

What happened?

When using ngModel binding the form control is immediately dirty, even no changes by the user have been made yet.

Tested also with never Angular versions.

Version

v17.4.0

Angular Version

v16.2.1

What browsers are you seeing the problem on?

All

Link to reproduce

https://stackblitz.com/edit/ngx-editor-t8mehw?file=src%2Fapp%2Fapp.component.ts

Relevant log output

No response

Willing to submit a PR?

None