FYI custom code block for grapesjs works good so far - instructions to add

In grapesjs plugin dir:

npm i grapesjs-custom-code



import grapesjscustomcode from 'grapesjs-custom-code';

on line 10

then in each

this.editor = grapesjs.init({

add to plugins

plugins: [grapesjswebpage, grapesjspostcss, grapesjsmautic, 'gjs-plugin-ckeditor',grapesjscustomcode],

Then build:
npm run build

It should be fine for all types of editors ie webpage, htmlemail and i think mjml

Works like a charm!

Hello, thanks for the details…
I am getting this error, could you help me with it please?

Thanks a lot!