After many years, to stay registered.The way you requested...
"toolbar:[ ['Font','FontSize'], ['Bold','Italic','Underline'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['TextColor'], ]"
Thiago Mágero wrote:
Hi,
There is a mistake. You need to skip the last comma to parse the JSON correctly!
Regards
"toolbar:[ ['Font','FontSize'], ['Bold','Italic','Underline'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['TextColor'] ]"
"toolbar:[ ['Source','-','Preview'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-', 'SpellChecker', 'Scayt'], ['Undo','Redo','-','Find','Replace','-','RemoveFormat'], ['Link','Unlink','Anchor'], ['Image', 'Table','HorizontalRule','CreateDiv'], ['Maximize', 'ShowBlocks'], '/', ['Styles','Format','Font','FontSize'], ['Bold','Italic','Underline'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['TextColor','BGColor'] ]"
Why in config.txt is the value for scayt_autoStartup inside ' '? Isn't true a boolean value?
Should it be this instead?
scayt_autoStartup: true,
( ' ' omitted).
Hello,
I need some help with the configs ckeditor.
In addition to the toolbar, I need to add a style definition using a custom class for a nested decimal list, i have this configs
"toolbar:[ ['Source','-','Preview'], ['Bold','Italic','Underline', 'Strike','Subscript', 'Superscript','-', 'CopyFormatting' ,'RemoveFormat'], ['NumberedList','BulletedList','-','Outdent','Indent', '-', 'Blockquote','CreateDiv'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'], ['Link','Unlink','Anchor'], ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'], ['TextColor','BGColor'] ],
style:[ [
Definitions:[
name:'Lista decimal aninhada',
elemento:'ol',
classes: 'bdp-ckeditor-lista-decimal-aninhada'
]
]]"
However, when I include the style, the toolbar disappears.
Can you help me?
Thanks.