Skip to content

Model for tinymce is not cleared when emptying the form model #7

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

Open
ri0t opened this issue May 21, 2018 · 1 comment
Open

Model for tinymce is not cleared when emptying the form model #7

ri0t opened this issue May 21, 2018 · 1 comment

Comments

@ri0t
Copy link

ri0t commented May 21, 2018

I have a button to add a new object which resets the model via $ctrl.model = {} - but it does not reset the tinymce field correctly :(
I already tried clearing the affected field manually, but that didn't help.

Here is the source:

I'm working on setting up a demo instance where you could check out that behaviour in realtime.

@ri0t
Copy link
Author

ri0t commented May 21, 2018

After a bit of fiddling, i found a workaround by setting the new model with that field specifically set to " ": this.model = {abstract: ' '};

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