There are a number of missing tool bar options when using the ckeditor.inline()
I have a custom config file and here is how I'm defining the tool bar options:
config.toolbar = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', '-', 'Undo', 'Redo' ] },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent','JustifyLeft','JustifyCenter','JustifyRight' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] }
];
The "TextColor", and "BGcolor", don't show up when the tool bar displays?
Any ideas?
You are probably missing the
You are probably missing the plugins that are responsible for these features. If you go to our demo page, you will see that these two plugins are absent from the Standard preset, but are present in the Full preset. Likewise, you can use CKBuilder to customize your build and add these two plugins manually.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
That was it! Thanks for the
That was it! Thanks for the help Anna!
I have the same problem with
I have the same problem with editor inline but for differents buttons.
Here is the toolbar config :
config.toolbar = [
{ name: 'document', items: [ 'Source', 'Print' ] },
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],
{ name: 'editing', items: [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ] },
{ name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
{ name: 'insert', items: [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] },
'/',
{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
{ name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline' ] },
{ name: 'styles', items: [ 'Format', 'FontSize' ] },
{ name: 'colors', items: [ 'TextColor', 'BGColor' ] },
{ name: 'tools', items: [ 'Maximize', 'ShowBlocks' ] }
];
The [ 'Source', 'Print' ] and "Maximize", don't show up when the tool bar displays.
Thanks for your help.
Source mode is not available
Source mode is not available in inline editing yet -- see ticket #9713.
Maximize does not make any sense for inline editing. Inline editing is all about editing parts of real web pages. If you maximize the editing area, it will no longer be real. It is thus not available in this context.
The same goes for Print -- why would you want to print a fragment of a website/ document from the editor? If you have a need for that, just select the fragment and use the browser Print command for that.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Thanks Anna,
Thanks Anna,
Indeed I thank about these explanations about "Maximize" and "Print" after sending the post...
I also have this problem
Hi,
I am also using CKeditor as inline editor and I am missing the list buttons. I am using the latest full version of the editor.
I have wrapped the initialization of CKEditor in a JQuery-Plugin using this configuration:
My toolbar then looks like this:
I have also no configuration for the toolbar or setting it to "full". The list buttons never appear. We are using Bootstrap as our CSS Framework.
Thanks for the help!
I am having this exact
I am having this exact problem as well. Have been googling a ton for it but no solutions is found.
jimmitjoo, you'd have to
jimmitjoo, you'd have to provide some details about your setup. You can clearly see that inline on the demo page has lists. When you download your package, do you have lists when you open the sample in ckeditor/samples/inlineall.html? If you don't, then maybe your package is simply missing the list plugin.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Yes there the lists is viewed
Yes there the list buttons is viewed in the panel. The plugin is in the plugins folder as well.
Here are my config for the list:
Then you'll have to compare
Then you'll have to compare how it's done in the samples and how you're doing it. When reporting something like that it's always good to provide as much info as possible: how are you calling the CKEditor instance, which browsers have this issue, what CKEditor version are you using, are you getting any errors, etc.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!