I don't know if you noticed it:
- Freetextbox is no longer open-source, although I still have its previous open-source version.
- The online editor used by csdn is excellent.
- Its name is FCKeditor.
- It is open-source
- Platform independent. At least ASP, Asp.net, and PHP are supported.
I used freetextbox all the time (mainly known from the Community Server ).
However, it is not as easy as you can imagine, mainly because the uploading of images is not completed.
Well, let's get down to the point. Let's talk about how to deploy FCKeditor in Asp.net.
First, download the website. Note that you need to download two zip files, one of which is core, which is the core of FCKeditor. The second component is for. net.
For ease of description, I will attach the actual file name and modify it flexibly in the future.
The downloaded core file is fckeditor_2.3.1.zip.
For. Net file named fckeditor.net_2.2.zip
Deployment steps:
- Decompress fckeditor_2.3.1.zip and copy the FCKeditor to your IIS main directory.
You can access http: // localhost/FCKeditor/and change the http: // localhost/FCKeditor/fckconfig. js variable:
_ Filebrowserlanguage, _ the value of quickuploadlanguage is changed to aspx,
Well, it's not hard to do it.
- (Optional) delete the files and folders starting with '_' in the copied FCKeditor.
Delete, which contains examples and debugging pages.
- Decompress fckeditor.net_2.2.zip and add the bin/release/fredck. fckeditorv2.dll file in vs.net 2003. You can drag and drop the control at will.
- (Important) copy the above DLL file to http: // localhost/FCKeditor/Editor/filemanager/upload/aspx/bin/
Then, in IIS settings, make the http: // localhost/FCKeditor/Editor/filemanager/upload/aspx/directory run Aspx.
Similarly, http: // localhost/FCKeditor/Editor/filemanager/Browser/default/connectors/aspx/must be repeated.
.
Another simpler method is to copy fredck. fckeditorv2.dll to the http: // localhost/FCKeditor/bin/directory,
Then, create an application in IIS.
The purpose of this step is:
Http: // localhost/FCKeditor/Editor/filemanager/Browser/default/connectors/aspx/connector. aspx
Http: // localhost/FCKeditor/Editor/filemanager/upload/aspx/upload. aspx
These two files can work.
- Now, you can Drag FCKeditor into aspx and set basepath to/FCKeditor.
If:
Http: // localhost/FCKeditor/Editor/filemanager/Browser/default/connectors/aspx/connector. aspx is not working properly
When you browse the server, there will be an XML request error: xxxxxxxxxxxxxx (500) error.
Http: // localhost/FCKeditor/Editor/filemanager/upload/aspx/upload. aspx
When you upload an image, the button does not respond.