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

core._resourcesStateChange is not a function (in core.js) #1217

Closed
wmhartl opened this issue Apr 10, 2023 · 2 comments
Closed

core._resourcesStateChange is not a function (in core.js) #1217

wmhartl opened this issue Apr 10, 2023 · 2 comments
Labels
Milestone

Comments

@wmhartl
Copy link

wmhartl commented Apr 10, 2023

Hi @JiHong88 thank you for your efforts. From your note on issue 1191, after updating to 2.44.4 (and even to 2.44.8), we're still seeing this:

core.js:6229 Uncaught TypeError: this._resourcesStateChange is not a function
    at Object.<anonymous> (core.js:6229:22)

Would perhaps checking the value using typeof solve the issue? Something like I see you doing elsewhere in core.js:
if (typeof this._resourcesStateChange === "function") this._resourcesStateChange();

Happy to test out possible solutions if it would be helpful for you.

(I found a thread for this on the suneditor-react side that might be of interest also: mkhstar/suneditor-react#296)

@JiHong88 JiHong88 added this to the 2.44.9 milestone Apr 11, 2023
@JiHong88
Copy link
Owner

Yes, it seems to be solved with "typeof".

@JiHong88
Copy link
Owner

JiHong88 commented Apr 11, 2023

The 2.44.10 version has been updated.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants