Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

classiceditor is not defined using npm

Regarding Laravel included libraries examples in boostrap.js file such as 
pusher, axios, etc...

You may use :
window.ClassicEditor = require('@ckeditor/ckeditor5-build-classic');

$(document).ready(function(){
  ClassicEditor.create($('#edit_about_text').get()[0]);
});
 
PREVIOUS NEXT
Tagged: #classiceditor #defined #npm
ADD COMMENT
Topic
Name
2+8 =