2011-05-14, 00:33:29
mvlcek Wrote:Thanks. Interestingly it works with "attributes", too.
Martin, that is wrong.
With "attributes" it will create
<td background-color:"red"> for example and that is not a style!
But now I got the final solution:
1) take the attachment, which I added to my previous post
2) name it whatever and upload it to a secure place, for example into the data- or the theme-folder
3) now add this to your gsconfig.php:
a)
Code:
define('GSEDITORTOOL', 'advanced');
b)
Code:
define('GSEDITOROPTIONS',"stylesSet: 'default:http://www.testdomain.de/maybesubdirectoryt/theme/yourname.js'
");
As I have a lot of experimental and necessary options, my editoroptions look like this:
Code:
define('GSEDITOROPTIONS',"skin : 'v2',
enterMode: CKEDITOR.ENTER_P,
shiftEnterMode : CKEDITOR.ENTER_BR,
fontSize_defaultLabel : '11px',
font_defaultLabel : 'Verdana',
font_names : 'Arial;Times New Roman;Verdana',
toolbarCanCollapse : true,
colorButton_enableMore : true,
entities : false,
contentsLangDirection : 'ltr',
dialog_buttonsOrder : 'ltr',
emailProtection : 'encode',
stylesSet: 'default:http://www.urbanistan.de/getsimpletest/theme/webdeern.js'
");
with my file "webdeern.js" in the theme-folder
a relative path might work as well, but I was too lazy for that!
Cheers!
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18