Fckediter:
Effect chart:
Usage:
First Download fckediter from the Internet, and then follow these four steps:
1. Copy fckeditor to the website and directory.
2. Copy fredck. fckeditorv2.dll to the bin directory and add references.
3. Configure web. config and fckconfig. js
(1) add
<Deleetask>
<Add key = "fckeditor: basepath" value = "~ /Fckeditor/"/>
<Add key = "fckeditor: userfilespath" value = "/website1/uploadfiles/"/>
</Appsettings>
(2) find fckconfig. defaultlanguage = en in fckconfig. js and change it to zh-cn. Set your language
Var _ filebrowserlanguage = 'asp '; // asp | aspx | cfm | lasso | perl | php Tutorial | py
Var _ quickuploadlanguage = 'asp '; // asp | aspx | cfm | lasso | perl | php | py
4. Use
<% @ Register assembly = "fredck. fckeditorv2" namespace = "fredck. fckeditorv2" tagprefix = "fckeditorv2" %>
<Fckeditorv2: fckeditor id = "onlinkeditor" runat = "server"> </fckeditorv2: fckeditor>
Tiny_mce:
First, let's take a look at the effect of tiny_mce:
Usage:
Tiny_mce has its own website. GoOfficial websiteThe steps for downloading an object are also simple:
1: reference the tiny_mce.js file on the page
<Script type = "text/webpage effects" src = "jscripts/tiny_mce/tiny_mce.js"> </script>
2: Register tinymce. init on the page
<Script type = "text/javascript">
Tinymce. init
(
{
Mode: "textareas ",
Theme: "advanced"
}
);
</Script>
3: You can use it at last:
<Textarea name = "content" style = "width: 100%">