I have written a document manager plugin for fck editor but since updating to 2.6 this has stopped working. Has anyone else had this problem?
the code for my plugin is this:
the code for my plugin is this:
FCKCommands.RegisterCommand( 'Document_Manager' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'], FCKLang['DlgMyFindTitle'], FCKConfig.PluginsPath + 'docs/fck_docs.cfm', 500, 400 ) ) ; // Create the "Document Manager" toolbar button. var oDocumentManager = new FCKToolbarButton( 'Document_Manager', FCKLang['DlgMyFindTitle'] ) ; oDocumentManager.IconPath = FCKConfig.PluginsPath + 'docs/docs.gif' ; FCKToolbarItems.RegisterItem( 'Document_Manager', oDocumentManager ) ;

Re: v2.6 plugins stopped working?
Re: v2.6 plugins stopped working?
ok to fix this i had to do the following
commented out this line in editor\fckdialog.html line:642
in the html for my plugin in the body tag i did this.
then it worked it seems to be something to do with the custom styles for dialogs not loading?
Is it just me?
Re: v2.6 plugins stopped working?
Re: v2.6 plugins stopped working?
Re: v2.6 plugins stopped working?
if anyone can point me in the direction of writing forward compatible / optimal code for plugins for the editor then that would be a great help.