Hi All,
I'm writing a ColdFusion (CF) application that uses FCKEditor (2.6.1). We've found that whenever content in the editor ends with formatted text from the "Format" dropdown, isDirty() always returns true. Has anyone noticed this before?
I'm writing a ColdFusion (CF) application that uses FCKEditor (2.6.1). We've found that whenever content in the editor ends with formatted text from the "Format" dropdown, isDirty() always returns true. Has anyone noticed this before?
Re: isDirty() and Format DropDown Dilemma
Some debug info helped me see what exactly was happening. In the isdirty function I put ihe code below at about line 75 to see what the results were when the isdirty method is called.
The result after putting in some sample text into fckeditor, highlighting it and then hitting bold, italics and number list.
<OL><LI><EM><STRONG>test</STRONG></EM></LI></OL><P></P>
compatred to
<OL _fckxhtmljob="1"><LI _fckxhtmljob="1"><EM><STRONG>test</STRONG></EM></LI></OL><P></P>
So the returning result is always TRUE!
Now to fix it.