Open protozoo opened 10 months ago
@protozoo I had the same problem, for some reason changing this
// (...)
plugins: ['grapesjs-component-code-editor'],
pluginsOpts: {
'grapesjs-component-code-editor': { appendTo:'#componentCodeEditor' },
// (...)
to this
// (...)
plugins: [
editor => componentCodeEditor(
editor,
{
appendTo: '#componentCodeEditor'
}
]
// (...)
fixed it for me.
I finally went another route but thanks anyway!
Hi there,
I'm trying to integrate the component-code-editor plugin in my grapes-based app but I can't get it to be displayed. This is my relevant js code:
The intended container target is just a div in my page html:
<div id="componentCodeEditor"></div>
And I'm loading the plugin like this:
I don't have any other additional code related to integrating/using this plugin besides this. Am I missing anything? Maybe I need to call some function or command to get it displayed?
Thank you