tinymce/tinymce-svelte

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

andreasnuesslein opened this issue ยท 4 comments

Ahoy there ๐Ÿ‘‹ ,

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)

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)

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

Ref: INT-3063

Closing due to lack of activity