Closed hellocaio closed 4 years ago
After doing some searching on this error, some were able to solve it by importing ckeditor using the CDN. So I added the CDN:
const editor = grapesjs.init({
container: "#canvas",
canvas: {
scripts: [
"https://cdn.ckeditor.com/ckeditor5/12.4.0/classic/ckeditor.js"
]
}
...
This did not solve the issue.
try including ckeditor using a script tag in your html, not the scripts field in grapesjs.init. http://cdn.ckeditor.com/
I'm trying to use this plugin with GrapeJS in React but can't get it to work. When I select a piece of text I get an error:
This is how I am loading it:
then:
What am I doing wrong?