Ckeditor5: Uncaught ReferenceError: ClassicEditor is not defined

Created on 29 Jun 2020  ·  3Comments  ·  Source: ckeditor/ckeditor5

📝 Provide detailed reproduction steps (if any)

  1. Download ckeditor and create a custom build, after downloading files, upload them to your host, in my case, localhost.
  2. Folder is located at: /static/ckeditor/ckeditor.js
  3. Include the script in your code and create a div with class editor.
  4. After creating the div and including the script, you will see a normal box instead of the desired one and if you check console it will say:
  5. Uncaught ReferenceError: ClassicEditor is not defined ( If i add this one )
  6. Uncaught ReferenceError: InlineEditor is not defined ( Or this one, depending the case )

✔️ Expected result

  • Having the CKEditor customized working on my website.

❌ Actual result

image

Not even loading.

📃 Other details

OS: Windows 10
CKEditor Version: 5

NOTE: If i change my local path to the cdn path it works without that error, but if i try to use the path which is the one i want to use, it doesn't work.

bug

All 3 comments

Hi, thanks for the report. I didn't have any problems creating a custom build and running it, so please make sure you follow our giude on creating custom builds and that the path to the build is correct. I'm afraid the problem might be somewhere on your side. In any case, if you'll not be able to debug it yourself, we'll need more information ( i.e. editor configuration ) and precise steps ( with code ), to look into this.

Well im retarded, as you commente that i made another download with new stuff and it works like a charm, not sure what i did wrong the first time, output:

image

having same issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hamenon picture hamenon  ·  3Comments

MansoorJafari picture MansoorJafari  ·  3Comments

metalelf0 picture metalelf0  ·  3Comments

Reinmar picture Reinmar  ·  3Comments

oleq picture oleq  ·  3Comments