That code works as far as EMPTYING out the editor instance - but it doesn't work as far as RESETTING CHANGES, i.e. if you have the editor set up to edit existing content. Your typical form "reset" function returns any form elements' contents to the values in the code, i.e. <input type="text" value="wheeee">, not just emptying/resetting them to null values.
So is there a way to accomplish a proper value reset, instead of just emptying out the instance?
RE: Reset button and FCKEditor :(
<FORM name=frmName onreset= "FCKeditorAPI.GetInstance('TEXTAREA_NAME').SetHTML('')">
Make sure to replace
frmName and TEXTAREA_NAME accordingly. Hope this helps.
RE: Reset button and FCKEditor :(
So is there a way to accomplish a proper value reset, instead of just emptying out the instance?
RE: Reset button and FCKEditor :(
RE: Reset button and FCKEditor :(
RE: Reset button and FCKEditor :(