What Is a Web Content Editor?
Rich text editor, Rich Text Editor, or RTE for short, is a WYSIWYG text editor that can be embedded in the browser.
Rich text editor
- Rich text editor, Rich Text Editor, or RTE for short, is a WYSIWYG text editor that can be embedded in the browser.
- Rich text editors are different from text editors. Programmers can download free rich text editors from the Internet and embed them in their own websites or programs (of course, paid features will be more powerful), which is convenient for users to edit articles or information. Better text editors have
- The rich text editor, Rich Text Editor, or RTE for short, provides editing functions similar to Microsoft Word, and is easily loved by users who do not write HTML and need to set various text formats. Its applications are also becoming more and more widespread. At first, only IE browser supported, and other browsers followed suit. In terms of feature richness, IE is better. Although there is no unified standard, the APIs provided by browsers are basically the same for the most basic functions, making it possible to write a cross-browser rich text editor.
- This principle is really too simple! For browsers that support rich text editing, in fact, set the designMode property of the document to on, and then execute document.execCommand ('commandName' [, UIFlag [, value]]). commandName and value can be found on MSDN and MDC. They are commands that we create in various formats. For example, we need to bold fonts, and execute document.execCommand ('bold', false). Quite simple, right? However, it is worth noting that the command is usually executed after the text is selected, and the selected text is formatted. This command is executed for unselected text. Each browser has different processing methods. For example, IE may format the content of the label in the cursor, while other browsers do not do any processing. Described. It should also be noted that setting the UIFlag parameter to true means display any user interface triggered by the command (if any), which is false in our tutorial today, and the value is only in some commandName
- This example uses
- good, look at our code, line 224. Compared to other editors with tens of thousands of lines, you may find it incredible. Because our most basic editor, we don't even use selection. Many cool effects, such as the ability to dynamically change the link text in Google Doc, use the inner layer instead of the pop-up prompt to operate advanced functions, basically use TextRange (IE) or Range (W3C). These two things are not compatible with each other, they are just similar. For the introduction, see Introduction to Range of PPK.
- C1RichTextBox
- The RichTextBox for Silverlight control allows you to view, edit, and save documents in THML or RTF format. Can achieve rich formatting, word wrap, HTML and RTF file import, insert tables, pictures and comments.
- C1RichTextBox provides the most complete rich text editor for Silverlight applications. You can load, edit and save documents in RTF or HTML format, and support rich formatting, automatic line breaks, import / export of HTML or RTF documents, tables, pictures, and comments.
- Javascript rich text editor makes it more convenient and easy for us to add and edit articles in the website. These rich text editors provide what you see is what you get (WYSIWYG) functions, which can be used to edit articles in websites just like editing word documents. They are often used in content management systems and blog systems. Here are a few free ones:
- MarkitUp-jQuery
- A lightweight, customizable and flexible rich text editor, commonly used on CMS, Blog, Forum and other websites. markItUp is not a WYSIWYG editor, it supports some commonly used express keys and commonly used browsers.
- jWYSIWYG-jQuery
- jWYSIWYG is a more commonly used WYSIWYG editor for Jquery. It provides html code editing, text editing, and image linking functions, thereby ensuring the simple features of jWYSIWYG.
- Lightweight RTE- jQuery
- Lightweight RTE is a very simple Jquery rich text editor with a size of only 7kb. Provides some basic text formatting operations.
- HTMLBox-jQuery
- HTMLBox is a cross-browser, very interactive, open source Jquery rich text editor. It has been tested in popular browsers such as Mozilla Firefox, Internet Explorer, Opera, Netscape and Safari. This editor user manual can help you integrate this editor into your own web system very easily.
- Small Rich Text Editor-jQuery
- D Small Rich Text Editor uses the AjaxFileUpload plugin to implement the image upload function. [1]