Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add Option on CKEdit
#1
i can add option on CKEdit because some option i use it (sory i can write English it bad )

[Image: getsim.jpg]

i Edit file /admin/edit.php

Code:
if ($EDTOOL == 'advanced') {
                $toolbar = "
                        ['Cut','Copy','Paste','PasteFromWord','Bold',' 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Table', 'TextColor', 'BGColor', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source','Flash'],              '/',
              ['Styles','Format','Font','FontSize']
          ";
            } elseif ($EDTOOL == 'basic') {
                $toolbar = "['Font','FontSize','Styles','TextColor','Table','Cut','Copy','Paste','PasteFromWord','Flash'],['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source']";
            } else {
                $toolbar = GSEDITORTOOL;
            }
Reply
#2
You don’t have to edit any admin files, you can just put a toolbar configuration in the GSEDITORTOOL setting of gsconfig.php.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)