Hi,
I downloaded the extension for using CKEditor - but I can’t seem to get it to use the custom.js file, or to be able to set custom properties through Yii.
For instance, if I uncomment the two default configuration lines in ckeditor/assets/config.js…
CKEDITOR.editorConfig = function( config )
{
config.language = 'fr';
config.uiColor = '#AADC6E';
};
I ought to see a different background color, and my default language should be french - but no such luck.
I tried setting up a custom configuration file through the Yii widget interface, but it says it’s not a property of the widget:
for instance, using this…
<?php $this->widget(‘application.extensions.ckeditor.CKEditor’, array(
‘model’=>$model,
‘attribute’=>‘OneLineStory’,
‘editorTemplate’=>‘basic’,
‘customConfig’=>’/custom/ckeditor_config.js’
)); ?>
gives me the following CException:
Property "CKEditor.customConfig" is not defined.
Is there a way to set up a config.js file somewhere (a custom one would be ideal) so I can have the full range of CKeditor customizations?
-Charlie