-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Error while using setContents #543
Comments
@dgandhi1993 When is "setContents" called? |
Basically, I am trying to clear the editor's content. |
@dgandhi1993 If you are trying to set the initial values of the editor, you should do it in one of three ways:
<textarea><textarea> |
@JiHong88 I am using the value property. This issue appears when I am trying to change an existing editor instance value. |
The 2.34.2 version has been updated. |
Hi @JiHong88
I am facing this issue for quite some time now, however, I am not able to figure out the root cause.
When I try to set my editor's content using
setContents()
, I get below error:The same code usually works fine, but at times gives the above error.
Once this code breaks, my entire business logic in its parent function stops.
Can you help rectify this edge case?
The text was updated successfully, but these errors were encountered: