Using CKEditor
Well, sometimes things are sooooooooooo simple. We just incorporated the latest CK Editor into one of our ASP.net C# Inmotion Projects.
Here is how to do it:
(1) Upload the latest CK Editor Version to the root of your webserver
(2) Create a Record and make sure the field you want to use for the CK Editor is a TEXT AREA. Open the page and switch to HTML View
(3) Add the following script line between the <head></head><script type="text/javascript" src="/dnn/Portals/9/./ckeditor/ckeditor.js"></script>
Make sure that the path to the ckeditor.js script is accurate !!
(4) Add the CK Editor Class to the Text Area. It should look as follows:<textarea class="ckeditor" id="TextareaID" rows="3" cols="50" name="{Work_Desc_Name}">{Work_Desc}</textarea>
Variations:
(1) Using the BASIC Toolbar
Add <script>CKEDITOR.config.toolbar=’Basic'</script> BEFORE the text area. There are two toolbars right now. If you don’t add this script line then the default toolbar will be used.
It should like like:<script>CKEDITOR.config.toolbar='Basic'</script>
<td><textarea class="ckeditor" id="TextareaID" rows="3" cols="50" name="
{Work_Desc_Name}">{Work_Desc}</textarea></td>
(2) Using a different SKIN
Add <script>CKEDITOR.config.skin=’v2′</script> BEFORE the text area. “v2” is the skin name. Right now there are only three skins available.
It should look like:<script>CKEDITOR.config.skin='v2'</script>
<td><textarea class="ckeditor" id="TextareaID" rows="3" cols="50" name="
{Work_Desc_Name}">{Work_Desc}</textarea></td>
Compile and upload and you are ready to roll. So bloody simple. And the CK Editor is so much faster and precise than the stone old FCK Editor.
Link to forum post: http://forums.yessoftware.com/posts.php?post_id=114219
For protected sites you’ll need to Set Validate Request to false.
For .Net Framework 4 sites you’ll need to add
<httpRuntime requestValidationMode="2.0" />
To the system.web section of the web.config.