Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error after enabling ckeditor from config #82

Open
neerajprashar opened this issue Dec 15, 2023 · 1 comment
Open

Getting error after enabling ckeditor from config #82

neerajprashar opened this issue Dec 15, 2023 · 1 comment

Comments

@neerajprashar
Copy link

neerajprashar commented Dec 15, 2023

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?

@masumcity
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants