Hello,
I am trying to install ckeditor with jquery, but I do not understand why some things do not work.
For example, I want to use the file Config.php, therefore I like it
Then I specify the parameters in the file config.js like this.
And here I find myself with the toolbar "full" and Js error:
SyntaxError: invalid label -> config.shiftEnterMode : CKEDITOR.ENTER_P;
In addition I would like Sev configuration toolbar.
Thank you for your help
I am trying to install ckeditor with jquery, but I do not understand why some things do not work.
For example, I want to use the file Config.php, therefore I like it
$(document).ready(function() { $( '#article' ).ckeditor( function() { customConfig : '/back_office/includes/editeur_texte/ckeditor/config.js' } ); });
Then I specify the parameters in the file config.js like this.
CKEDITOR.editorConfig = function( config ) { config.language = 'fr'; config.shiftEnterMode : CKEDITOR.ENTER_P; config.enterMode : CKEDITOR.ENTER_BR; config.toolbar: [ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'], ['UIColor'] ] };
And here I find myself with the toolbar "full" and Js error:
SyntaxError: invalid label -> config.shiftEnterMode : CKEDITOR.ENTER_P;
In addition I would like Sev configuration toolbar.
Thank you for your help
Re: Installation with Jquery
Rafffffff I found
I put : a place of =
That said it is possible to define multiple configuration file config.js and call as needed?
If yes how to call?