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

Prevent ckeditor component from calling CVA onChange when the change comes from the CVA #140

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

ma2ciek
Copy link
Contributor

@ma2ciek ma2ciek commented Oct 4, 2019

Suggested merge commit message (convention)

Fix: The <ckeditor> component won't call the CVA registerOnChange() when the change comes from the CVA. This will fix an issue with changing data in Reactive Forms. Closes #139.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@antoinebrault
Copy link

antoinebrault commented Oct 28, 2019

@ma2ciek FYI It also fixes template driven dirty flag being set after ngModel "reset" https://stackblitz.com/edit/angular-ckeditor-form-dirty . Any ETA on a new release of ckeditor5-angular ? I'm waiting for this fix :) thanks

@ma2ciek
Copy link
Contributor Author

ma2ciek commented Oct 28, 2019

@antoinebrault, I've seen it too :)

I'll try to release it within this week. I was hoping that #143 can be solved before the release too, but the proper solution for it seems to be a bit tough and fragile change in the codebase, thus I want to release the latter separately.

@ma2ciek
Copy link
Contributor Author

ma2ciek commented Oct 31, 2019

Update: The latest release includes the fix - "@ckeditor/ckeditor5-angular": "1.1.1"

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

Successfully merging this pull request may close these issues.

ExpressionChangedAfterItHasBeenCheckedError after changing the formControl (Reactive Form)
3 participants