Any way to solve the issue "CKEDITOR is undefined" while upgrading CKEDITOR to latest version v5

165 Views Asked by At

I am facing an issue while upgrading CKEDITOR to latest version v5.It is showing some JQuery error while upgrading the version.console error. Anyone have any idea?

Checking for a solution to solve version upgrading issue of CKEDITOR.

1

There are 1 best solutions below

0
On

I had a similar issue yesterday with my custom build and it was due to the a change in the import statement.

The older version was

import { Editor } from 'ckeditor5-custom-build';

Whereas the newer version now uses

import Editor from 'ckeditor5-custom-build';

Note the lack of curly brackets.

Not sure if this applies to your setup, but it's worth taking a look if one of your imports is perhaps the issue.