tinymce / tinymce-svelte

Svelte wrapper
MIT License
23 stars 6 forks source link

TypeError: Cannot read properties of undefined (reading 'parse') #15

Closed andreasnuesslein closed 1 year ago

andreasnuesslein commented 2 years ago

Ahoy there :wave: ,

so the <Editor /> works pretty well on the most part. However we do run into a problem

image

I have trouble recreating this problem consistently :S So it's hard to say when it comes exactly.

I think it never comes when the page has been fully reloaded and the Editor is shown for the first time after that. But when we remove the component with the editor and then show it again, sometimes this error pops up.

Please help :)

Thanks!

PS: I also created a REPL as a means of a minimal example but I can't create the error there (https://svelte.dev/repl/0f3dbc75fe9f4b44af9b8b994cdfb312?version=3.49.0)

kuchaguangjie commented 2 years ago

Got similar issue, any idea?

Error in uncompresssed tinymce version:

plugin.js:1107 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'select')
    at Editor.<anonymous> (plugin.js:1107:20)
    at EventDispatcher.dispatch (tinymce.js:27705:31)
    at Editor.dispatch (tinymce.js:27820:57)
    at fireSetContent (tinymce.js:8836:53)
    at postProcessSetContent (tinymce.js:16473:9)
    at tinymce.js:18052:9
    at Object.map (tinymce.js:6098:37)
    at setContent (tinymce.js:18050:58)
    at Editor.setContent (tinymce.js:28624:16)
    at $$self.$$.update (Editor.svelte? [sm]:65:19)
jscasca commented 1 year ago

Sorry, I have not been able to recreate this issue. Has anyone got a consistent replication?

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3063

jscasca commented 1 year ago

Closing due to lack of activity