Hi,Folks
Im using FCKEditor v2.4.2 in my Application. In my webpage I have 2 command Buttons and FCKEditor. On the onclientclick event of Ist command Button, Im Reseting the FCKEditor Instance by
FCKeditorAPI.GetInstance('FCKeditor1').ResetIsDirty() ;
and in the onclientclick event of 2nd Command Button Im displaying the Instance of FCKEditor by
alert(FCKeditorAPI.GetInstance('FCKeditor1').IsDirty());
If we use any Anchor or insert any Flash file in the FCKEditor area and click on Ist Button (to Reset the instance) and immediately click on 2nd Button(to alert the Instance) without making any changes in the editor area. Then its giving True value instead of False value.
If we are not useing any Anchor or Flash, It will give False value when we click on 2nd button after clicking the Ist button.
Any one knows, Why its happening when we insert Anchor or Flash in FCKEditor? I tried with FCKEditor v2.4, in that its working.
Thanks
Arun
Im using FCKEditor v2.4.2 in my Application. In my webpage I have 2 command Buttons and FCKEditor. On the onclientclick event of Ist command Button, Im Reseting the FCKEditor Instance by
FCKeditorAPI.GetInstance('FCKeditor1').ResetIsDirty() ;
and in the onclientclick event of 2nd Command Button Im displaying the Instance of FCKEditor by
alert(FCKeditorAPI.GetInstance('FCKeditor1').IsDirty());
If we use any Anchor or insert any Flash file in the FCKEditor area and click on Ist Button (to Reset the instance) and immediately click on 2nd Button(to alert the Instance) without making any changes in the editor area. Then its giving True value instead of False value.
If we are not useing any Anchor or Flash, It will give False value when we click on 2nd button after clicking the Ist button.
Any one knows, Why its happening when we insert Anchor or Flash in FCKEditor? I tried with FCKEditor v2.4, in that its working.
Thanks
Arun