Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

The ability to change appearance (toolbar)


Project:FCKEditor Plugin
Version:1.2.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I would really likle to have the method that would switch from one toolbar to another (for example... simple, extended, professional)...

Comments

#1

<script type="text/javascript">
jQuery(function(){
jQuery.fck.config = {path:'/fckeditor/'};
jQuery('textarea').fck({
toolbar: 'Default'
});
});
</script>

You can choose Default and Basic.
In the file /fckeditor/fckconfig.js you can edit existing toolbars and even create new ones that can be called through the jQuery plugin.
See the fck documentation at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/T... for more information.

Good luck

#2

You don't have to modify the default fckeditor config files to create a custom toolbar. This is actually do-able from within your script too. Just pass the ['config'].CustomConfigurationsPath to the .fck object on creation like:

$('#fck_textarea').fck({
path: '/js/fckeditor/', height:200,
config: {CustomConfigurationsPath: '/js/my_fckeditor_options.js'},
toolbar: "my_toolbar"});

where my_toolbar is defined in '/js/my_fckeditor_options.js' (along with any other custom options)