Closed anushabivera closed 3 years ago
ERROR in Template execution failed: ReferenceError: editor is not defined
Without showing your code the error is useless... definitely, you forgot something somewhere, try to debug...
BTW grapesjs-plugin-boilerplate is deprecated, you have to use grapesjs-cli
Hi I am using grapesjs-plugin-boilerplate to develop my grapesjs ui builder. My requirement is to customize the View Code (</>) feature in the ui builder to display the contents from editor.getHml() enclosed by html tag as below:
I followed the solution mentioned in #523 and https://developer.aliyun.com/mirror/npm/package/grapesjs-plugin-export. Both these solutions are wrt grapesjs-export-plugin. Also on implementing the solution mentioned in the above mentioned references I got the below error:
ERROR in Template execution failed: ReferenceError: editor is not defined
Any guidance on this issue would be of immense help
Thank you.