ckeditor5 Cannot read property 'create' of undefined
ckeditor5 Cannot read property 'create' of undefined
soluciones
Posts: 12Questions: 5Answers: 0
in Plug-ins
Hi,
I followed your instructions to integrate the plugin ckeditor5.
I want to integrate ckeditor 5 and I added js / editor.ckeditor5.js
and below the JS code of your page, https://editor.datatables.net/plug-ins/field-type/editor.ckeditor5
My field
{
"label": "Descripcion:",
"name": "trabajos.descripcion",
"type": "ckeditorClassic"
},
But I have an Error,
editor.ckeditor5.js:93 Uncaught TypeError: Cannot read property 'create' of undefined
Can you help me?
This discussion has been closed.
Replies
Hi @soluciones ,
Can you confirm you've included the JS for for CKEditor and also for that plugin. I suspect the problem will be in the order that you're including them. If that doesn't help, could you link to your page, please.
Cheers,
Colin
Hi,
First I put js / editor.ckeditor5.js and after
<script>
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
I attached a link to the screenshot
https://prnt.sc/md8elc
It's an administrator, If you need to see the error, I created a user
Thanks
That error suggests that
window.ckeditorClassic
doesn't exist in your document. You can check that by just typing that into the console and pressing return - my guess is that it will showundefined
.Have you loaded CKEditor Classic's Javascript? Perhaps you can link to the page please?
Allan