1. Copy an object
(1) In the CuteEditor and Bin folders:
CuteEditor. dll
CuteEditor. lic (decrypt the file)
CuteEditor. ImageEditor. dll (5.0 added EditorImage function)
NetSpell. SpellChecker. dll (spelling check function)
Copy to the Bin directory of the project.
Note: (files with the extension ". dic" are saved as plain text files in the dictionary format. Copy all the files in the bin folder to the bin directory of the Project)
(2) copy the CuteSoft_Client folder and files to the corresponding directory of the project.
Note: FilesPath is used to set the correct directory, for example:
FilesPath = "~ /Admin/CuteSoft_Client/CuteEditor /"
(3) copy the example.css file to the corresponding directory and set the EditorWysiwygModeCss attribute. For example, EditorWysiwygModeCss = "/admin/CuteSoft_Client/CuteEditor/themes/example.css
The overall settings are as follows:
<CE: Editor ID = "Editor1" runat = "server" FilesPath = "~ /Admin/CuteSoft_Client/CuteEditor /"
EditorWysiwygModeCss = "/admin/CuteSoft_Client/CuteEditor/themes/example.css"> </CE: Editor>
2. Modify the Web. config file
<Deleetask>
<Add key = "DictionaryFolder" value = "bin"/>
</AppSettings>
<System. web> // you have not verified whether to set the code in. net2.0.
<BrowserCaps>
Tagwriter = System. Web. UI. HtmlTextWriter
</BrowserCaps>
</System. web>
3. Reference:
· <% @ Register Assembly = "CuteEditor" Namespace = "CuteEditor" TagPrefix = "CE" %>
· <CE: Editor ID = "ce1" runat = "server" FilesPath = "~ /Admin/CuteSoft_Client/CuteEditor /"
EditorWysiwygModeCss = "~ /Admin/CuteSoft_Client/CuteEditor/Themes/example.css "ThemeType =" Office2003_BlueTheme ">
</CE: Editor>
Note:
You can modify the files in the CuteSoft_Client \ CuteEditor \ Configuration \ AutoConfigure folder to display or arrange the buttons on the CuteEditor toolbar.
You can modify the file CuteSoft_Client \ CuteEditor \ Configuration \ Shared \ Common. config to add the font.
To detect invalid characters, you only need to change the encoding in web. config to "UTF-8 ".