How do you configure the new CKEditor editor to e.g. add images? Do you create a config/CKeditor folder with a .json file and install the @ckeditor/ckeditor5-image package?


I don't think so. You can see the entire code here

    .then(function(editor) {
        $(editor.element).closest('form').on('submit', function() {

This is the javascript that triggers the editor, as you can see, there are no config settings provided yet. I searched in the entire plugin but I could not find any other Javascript functions that are triggert so unless they provided a really nasty method to include them in the original editor js file you can't change them yet.

The only "configurations" are Html Purifier


However - you could create a feature request or you could implement your own code to provide settings. You only need to change a few lines - it's totally trivial

  • Thanks Robin, looks like the ckeditor5-image plugin hasn't been included - maybe because the Craft plugin is still in β?
    – Nutmeg
    Jan 5 '18 at 0:12
  • I don't know, like I said you are free to create a feature request or a pull request or just include the plugin by yourself Jan 5 '18 at 4:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.