I added a custom button to the toolbar using this example:
http://docs.fckeditor.net/FCKeditor_2.x ... n/Plug-ins
In my Execute function i need to update the state .. i want my button to toggle between FCK_TRISTATE_OFF and FCK_TRISTATE_ON. I think the method i want to call is:
FCKToolbarButton.prototype.RefreshState = function()
I have my getState function working off an internal variable that returns the proper state.
I have tried this.RefreshState();?
Currently I can see that the getState is only called right when the fckeditor is loaded.
any help would be appreciated.
Fri, 12/19/2008 - 19:09
#1
Re: calling refreshState from a custom plug-in
Who can tell me the answer,please...