Online text editor cheditor application example

Source: Internet
Author: User

CKEditorFCKEDITOR.

FCKeditor is currently one of the best visible web editor, which is written in JavaScript. It has powerful functions, easy configuration, cross-browser, support for multiple programming languages, open source, and other features. It is very popular. It is easy to find related technical documents on the Internet. FCKeditor is used for many WEB projects and large websites in China. FCKeditor is a WYSIWYG text editor dedicated to the use of open source code on the web page. It is lightweight and can be used without complicated installation steps. It can be combined with different programming languages such as PHP, JavaScript, ASP, ASP. NET, ColdFusion, Java, and ABAP. "FCK" in the "FCKeditor" name is the abbreviation of the author's name Frederico Caldeira Knabben. ----- From Baidu encyclopedia 1. Download The chedior package from the official website and decompress it to the project WebRoot,
2. the application page references the corresponding js, <script type = "text/javascript" src = "ckeditor/ckeditor. js "> </script> core code, referencing the cheditor function,: <tr>
<Td align = "center" valign = "top" style = "padding-bottom: 25px;"> description </td>
<Td align = "left" valign = "middle" style = "padding-bottom: 25px; padding-left: 37px;">
<Textarea name = "editor01" id = "txt_detail" class = "f_left"> enter </textarea>
<Script type = "text/javascript"> CKEDITOR. replace ('editor01'); </script>
</Td>
</Tr> the running effect is as follows: Note: To obtain the text content in the editor, you can use the jquery selector, var content = CKEDITOR.instances.txt _ detail. getData (); content is the text content of the editor. 3. It is easy to display the text content edited by cheditor on the page. It is generally displayed directly in the section label <p> </p>.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.