[CKEditor] Config

[CKEditor] Config

  
Forge Component
(11)
Published on 12 Oct by OutSystems Labs
11 votes
Published on 12 Oct by OutSystems Labs
How can i use the 'Configuration' parameter of the CKEditor webblock, i want to use a more simplefied toolbar. more like the Toolbar of this forum:


 
the default of CKEditor is now:


Specify your configuration parameters in the Config parameter.
See attached config.txt for an example.

Get more information from the CKEditor documentation.

I have tried it, but when i copy the content of the config.txt into the config parameter, the editor isn't working anymore. 
Make sure all the quotes are intact and/or try to scale down the parameters to only what you need (e.g. toobar). Upload an example if you are still having problems.
Here are the parameters we are using for simplified editor:

"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']  
    ]"
Thanks Rebecca, that did work!



(I removed Font and FontSize)

How can I add LineHeight to the toolbar?

I want the CKEditor to adjust the typing when entering a new line
just like this.

not like this.

it goes right here skipping one line.