Skip to content

Getting error after enabling ckeditor from config #82

@neerajprashar

Description

@neerajprashar

Hi,

I am getting The defination for plugin 'gjs-plugin-ckeditor' not found. after enabling ckeditor from the config file. Here is the code inside the config file.

'plugins' => [ 'default' => [ 'basic_blocks' => true, 'bootstrap4_blocks' => false, 'code_editor' => true, 'image_editor' => false, 'custom_fonts' => [], 'templates' => true, ], 'custom' => [ 'grapesjs-custom-code' => 'https://unpkg.com/grapesjs-custom-code', [ 'enabled' => true, 'name' => 'gjs-plugin-ckeditor', 'scripts' => [ 'https://unpkg.com/grapesjs-plugin-ckeditor', ], 'options' => [ 'position' => 'right', /** * Config options for CKeditor * Available options can be found here https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html * Or you can use config builder https://cdn.ckeditor.com/4.14.0/full-all/samples/toolbarconfigurator/index.html */ 'options' => [ 'toolbarGroups' => [ [ "name" => "document", "groups" => [ "mode", "document", "doctools" ] ], [ "name" => "clipboard", "groups" => [ "clipboard", "undo" ] ], [ "name" => "editing", "groups" => [ "find", "selection", "spellchecker", "editing" ] ], [ "name" => "forms", "groups" => [ "forms" ] ], [ "name" => "basicstyles", "groups" => [ "basicstyles", "cleanup" ] ], [ "name" => "styles", "groups" => [ "styles" ] ], [ "name" => "paragraph", "groups" => [ "list", "indent", "blocks", "align", "bidi", "paragraph" ] ], [ "name" => "links", "groups" => [ "links" ] ], [ "name" => "insert", "groups" => [ "insert" ] ], [ "name" => "colors", "groups" => [ "colors" ] ], [ "name" => "tools", "groups" => [ "tools" ] ], [ "name" => "others", "groups" => [ "others" ] ], [ "name" => "about", "groups" => [ "about" ] ] ], 'removeButtons' => 'Save,NewPage,Preview,Print,Templates,Source,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,Table,About' ], ], ], [ 'enabled' => false, 'name' => 'grapesjs-plugin-forms', 'options' => [], 'scripts' => [ 'https://unpkg.com/grapesjs-plugin-forms', ], ], ], ],

Anyone else getting same error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions