Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'GSEDITORTOOL', ''
#6
(2021-12-15, 22:47:43)zekoolweb Wrote: Thanks Oleg6, me too, but my question is more about component.
I know how to setup this gsconfig.php file, but what is unknown is :
"how to apply this Ckeditor configuration to Components" ?

Here is what i added into Ckeditor "config.js" (\admin\template\js\ckeditor\config.js)

config.toolbar_custom = [
        [
"Uploadcare",
"Source",
        ],
    ];

this is for defining my custom toolbar for using Uploadcare (http://get-simple.info/extend/plugin/upl...-fly/1280/).

But then what would it take to have a parameter which allow to set :

1/ enable ckeditor onto components ?
2/ set a custom toolbar ?


hi


you tried my plugin? http://get-simple.info/extend/plugin/com...ywig/1269/ @zekoolweb this add ckeditor with all extra plugins on components maybe this can help you

if you want create custom toolbar you must edit component-wysywig.js

on toolbar section
and edit toolbar section
Code:
,toolbar: [["Cut","Copy","Paste","PasteFromWord","-","Undo","Redo","Find","Replace","-","SelectAll"],["Bold","Italic","Underline","NumberedList","BulletedList","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","Table","TextColor","BGColor","Link","Unlink","Image","RemoveFormat","Source"],"\/",["Styles","Format","Font","FontSize","Undo","Redo","Maximize"],["Templates","AddCMSGrid","AddCMSGridRow","DeleteCMSGridRow","ExpandCMSColLeft","ExpandCMSColRight","SwapCMSCols"],["Iframe","ckawesome","oembed","simplebutton","ckeditor-gwf-plugin","spacingsliders","easycontact"]]                    ,extraPlugins:'cmsgrid,ckawesome,colorbutton,oembed,simplebutton,spacingsliders,easycontact'

like example, off course you use own plugins and what do you want add.


question? go to my discord about my plugins
https://discord.gg/9Sb8fUeyVc
Reply


Messages In This Thread
'GSEDITORTOOL', '' - by datiswous - 2019-07-05, 23:34:38
RE: 'GSEDITORTOOL', '' - by shawn_a - 2019-07-09, 12:15:20
RE: 'GSEDITORTOOL', '' - by zekoolweb - 2021-12-15, 17:12:34
RE: 'GSEDITORTOOL', '' - by Oleg06 - 2021-12-15, 22:38:11
RE: 'GSEDITORTOOL', '' - by zekoolweb - 2021-12-15, 22:47:43
RE: 'GSEDITORTOOL', '' - by multicolor - 2021-12-16, 02:44:25



Users browsing this thread: 1 Guest(s)