Hi,
Extra toolbars I make are not recognized by CKEditor ().
Here's what I do:
open /ckeditor/_source/plugins/toolbar/plugin.js;
copy CKEDITOR.config.toolbar_Full =[.....all plugin definitions......];
paste CKEDITOR.config.toolbar_Full =[.....all plugin definitions......] below the original ;
rename the pasted CKEDITOR.config.toolbar_Full =[.....all plugin definitions......] to CKEDITOR.config.toolbar_marc =[.....my plugin definitions......];
change /ckeditor/config.js:
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};
to
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'marc';
};
When i am requesting the page the textarea does not show whereas when I comment out the line so it shows as //config.toolbar = 'marc'; the textarea shows with the full toolbar (which is default).
What am I doing wrong here?
I use CKEditor version: 3.6.2, released on 13 September 2011 in FF 8.0
Marc
Extra toolbars I make are not recognized by CKEditor ().
Here's what I do:
open /ckeditor/_source/plugins/toolbar/plugin.js;
copy CKEDITOR.config.toolbar_Full =[.....all plugin definitions......];
paste CKEDITOR.config.toolbar_Full =[.....all plugin definitions......] below the original ;
rename the pasted CKEDITOR.config.toolbar_Full =[.....all plugin definitions......] to CKEDITOR.config.toolbar_marc =[.....my plugin definitions......];
change /ckeditor/config.js:
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};
to
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'marc';
};
When i am requesting the page the textarea does not show whereas when I comment out the line so it shows as //config.toolbar = 'marc'; the textarea shows with the full toolbar (which is default).
What am I doing wrong here?
I use CKEditor version: 3.6.2, released on 13 September 2011 in FF 8.0
Marc