Answer the question
In order to leave comments, you need to log in
Why doesn't ckeditor work?
Hello masters.
I am a complete noob in js, I want to install CKEditor. In the head I connected ckeditor.js,
created a form with the name and id (to be sure) "editor"
registered below
<script>
CKEDITOR.replace("editor")
</script>
Answer the question
In order to leave comments, you need to log in
What version of ckeditor are you using? Your best bet is to use this one - https://github.com/UniSharp/laravel-ckeditor . After the command, php artisan vendor:publish --tag=ckeditor
all files will be in the public folder. If you use the assembler, then I added the config file and connected it after ckeditor
var CKEDITOR_BASEPATH = '/vendor/unisharp/laravel-ckeditor/';
(looks in the public folder and finds '/vendor/unisharp/laravel-ckeditor/' there). Well, if you use jquery, then include ckeditor.js and adapters/jquery.js.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question