I used the FCKEditor c# classes that Frederick has provided. They work great! Input state is retained when re-rendering a page. Have you tried it out yet?
Only thing I'm wrapping my head around right now is how to do "required" validation for the FCKEditor control.
See, I have a custom validator that does the required validation check on the FCKeditor content. That works fine when absolutely no content has been input into the editor. But, if you type content into the FCKeditor in WYSIWYG mode, and then delete it, it doesn't delete all of the content. It leaves behind:
<p> </p>
You can see this yourself by setting the editor from WYSIWYG mode to "source" mode.
I guess as a workaround I can validate that the text is not just <p> </p> but I'd rather modify the editor to remove <p> </p> altogether. I'll check prior postings to see if anyone else has come up with a better solution first...
RE: ASP.NET WebApp integration
Only thing I'm wrapping my head around right now is how to do "required" validation for the FCKEditor control.
See, I have a custom validator that does the required validation check on the FCKeditor content. That works fine when absolutely no content has been input into the editor. But, if you type content into the FCKeditor in WYSIWYG mode, and then delete it, it doesn't delete all of the content. It leaves behind:
<p> </p>
You can see this yourself by setting the editor from WYSIWYG mode to "source" mode.
I guess as a workaround I can validate that the text is not just <p> </p> but I'd rather modify the editor to remove <p> </p> altogether. I'll check prior postings to see if anyone else has come up with a better solution first...