I'll try to explain my problem:
1) First of all, I am using FCKEditor with .NET and I am creating my editor dynamically.
2) The user types some text, apply some alignment on it and press a button to save this text on the database. For example <p aling="left">some text</p>
3) The user opens the form again and the text stored in database appears in the editor.
My problem:
4) If the user del the text he typed and then press save. The following will be saved:
<p aling="left"></p> or sometimes <p aling="left"> </p>
What I need is to clear everything and save an empty string in the database.
I tried to use SetHTML but I get an Permission Denied error.
Somebody can help me?
Thanks!
1) First of all, I am using FCKEditor with .NET and I am creating my editor dynamically.
2) The user types some text, apply some alignment on it and press a button to save this text on the database. For example <p aling="left">some text</p>
3) The user opens the form again and the text stored in database appears in the editor.
My problem:
4) If the user del the text he typed and then press save. The following will be saved:
<p aling="left"></p> or sometimes <p aling="left"> </p>
What I need is to clear everything and save an empty string in the database.
I tried to use SetHTML but I get an Permission Denied error.
Somebody can help me?
Thanks!