Kraftbit/nova-tinymce5-editor

JS:Error - Cannot read properties of undefined (reading '_c')

Closed this issue · 2 comments

Hello,

thanks for the great package and all the work!

I wanted to try it out first and therefore implemented it with a field as shown in the example:
NovaTinymce5Editor::make('Body', 'body'),

I followed everything after the tutorial: installed the package, generated and inserted API code, instantiated classes ... nothing special. Unfortunately I already get the following JS error in the console:

TypeError: Cannot read properties of undefined (reading '_c')
at Proxy.render (nova-tinymce5-editor:1:161410)
at zn (runtime-core.esm-bundler.js:893:44)
at we.fn (runtime-core.esm-bundler.js:5030:57)
at we.run (reactivity.esm-bundler.js:167:25)
at R (runtime-core.esm-bundler.js:5156:9)
at j (runtime-core.esm-bundler.js:4939:9)
at N (runtime-core.esm-bundler.js:4897:17)
at g (runtime-core.esm-bundler.js:4489:21)
at E (runtime-core.esm-bundler.js:4685:13)
at B (runtime-core.esm-bundler.js:4856:13)
(anonymous) @ runtime-core.esm-bundler.js:226

Can anyone help?

Same issue, don't think it works under nova 4, probably going to have to fork it and make the needed modifications and update it. When I get caught up with my other work, I will take a crack with updating this to support nova 4 unless the author magically decides to do it between now and then.

Sorry, I'm currently really of time to update this package. But please feel free to modify/update and send PR - I am happy to accept it.