I am using fckEditor2 RC2. I studied the sample plugin code in order to make my own. But the sample plugin only shows a plugin which is a FCKDialogCommand. (FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'FindReplace/find.html' , 340, 170 ) )
But I want to make a plugin like the Justifyleft-Button, which inserts <span style="clearfloat"> </span> around a selected text or image. The problem is I could not find the command used by the justifyleft-button . (I looked at fckcommands.js, etc.)
Is it a FCKFormatBlockCommand() or what is it? I just want to look at it in order to implement my own command or modify the Justifyleft-Button.