Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
889 views
in Plugins by
Where is the toolbar's configuration file?

I need to add some buttons. Editing in the admin page nothing happend.

Thanks in advance.

1 Answer

0 votes
by
selected by
 
Best answer

Toolbar is configured in admin panel of CKEditor4 plugin.

  • "Admin" > "Plugins" > "Ckeditor4 options" > "Toolbar buttons"
  • "Admin" > "Plugins" > "Ckeditor4 options" > "Advanced toolbar buttons"
What do you mean about "nothing happened"?
by
I got it. Format between config file of CKEditor and option of CKEditor4 is different a little. Try to change your "Other configuration" (From " = " to ":").

toolbarCanCollapse:false,
removePlugins:'elementspath',
removeButtons:'Subscript,Superscript',
resize_enabled:false,
autogrow:false,
entities:false,
extraPlugins:'smiley,font,oembed,widget',
oembed_maxWidth:'560',
oembed_maxHeight:'315',
oembed_WrapperClass:'embededContent'

Reference about oembed plugin:
http://www.question2answer.org/qa/38975/tips-media-oembed-plugin-with-ckeditor4-plugin
Note: oembed plugin depends on some other plugins (widget, dialog, lineutils,clipboard). You can confirm dependencies with each plugin download dialog. Especially, in new CKEditor, this dependencies seems to be changed. Please be careful.
by
どうもありがとうございます君様。 [ 君様 weird choise of words :) ]
All the changes made.
all dependencies installed.
Only one but new error.

Uncaught TypeError: CKEDITOR.tools.getIndex is not a function plugin.js?t=F61C:1951

addUpcast    @    plugin.js?t=F61C:1951
addWidgetProcessors    @    plugin.js?t=F61C:1946
Repository.add    @    plugin.js?t=F61C:222
CKEDITOR.plugins.add.init    @    plugin.js?t=F61C:55
(anonymous function)    @    ckeditor.js?1.7.0:227
CKEDITOR.scriptLoader.load.k    @    ckeditor.js?1.7.0:209
CKEDITOR.scriptLoader.load.n    @    ckeditor.js?1.7.0:209
CKEDITOR.scriptLoader.load.o    @    ckeditor.js?1.7.0:209
(anonymous function)    @    ckeditor.js?1.7.0:210
by
It might be a issue of CKEditor or plugins.
https://github.com/galetahub/ckeditor/issues/588
by
Ok. Then I must check CKE4.
Thank you !!!!
...