Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED CKeditor: Skins, & Tab spaces Indenting:
#1
2 Question/Problems:

— In CKeditor's config.js there is this line that sets the tab spaces:
config.tabSpaces     = 10;    
that seemed too much, so I changed it to read:
config.tabSpaces                   = 5;    
BUT it continues to output 10 speaces whenever I hit the tab key!

—2:   I also tried to change the editor skin, by unzipping a new CK theme into this folder:
\admin\template\js\ckeditor\skins\
And editing this:  
config.skin   = 'getsimple';
to:
config.skin  = 'moono-dark';    
BUT it failed to make any appearance change at all.  

Am i Doing something wrong? Confused
Reply
#2
cached
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Hi Shawn. It doesn't seem to be a cache problem. I just now tried it in another browser (Chrome, instead of Fx), and cleared its cache also. Same results. Are skin changes and tab space changes working for anyone else?
Thanks.
Reply
#4
sorry for the confusion, i probably should not have left those in there.

In 3.3.x these are hardcoded in the edit.php still, so those in config.js are not applied.
you will have to override them in your gsconfig GSEDITOROPTIONS config, as config.js does not override inline settings.

example

define('GSEDITOROPTIONS', "tabSpaces:4,skin:'moono-dark',uiColor :null");
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
That worked! Thanks again.
Reply
#6
in 3.4 all inline configs are removed so this can be done in config.js, but i did not want to change 3.3.x behavior in case plugins rely on it being the same.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)