Javascript-tool:ueditor

Source: Internet
Author: User

Ylbtech-javascript-tool:ueditor

Ueditor is an open source Rich Text editor developed by Baidu Web front-end research and development department, which has the characteristics of light weight, customizable and excellent user experience. Open source is based on the BSD protocol, and all source code can be freely modified and used within the scope of the agreement. Baidu Ueditor launch, can help a lot of developers in the development of rich text editor encountered problems, save developers because of the development of rich text editor needs a lot of time, effectively reduce the development costs of enterprises.

1. back to top
1, features UeditorIn the design of the classic layered architecture design concept, as far as possible to achieve a slight coupling between functional levels. Specifically, the entire system is divided into the core layer, command plug-in layer and UI layer such as three low-coupling level.
1, the core layer provides some of the editor's underlying methods and concepts, such as DOM tree operations, Selection, Rangesuch as 2. The command plug-in layer is covered above the core layer。 The reason is called the command plug-in layer, because all the functional implementation of the ueditor in this layer through the command and plug-ins to complete, and the various commands and plug-ins between the basic non-coupling-the user needs to use which function to import which function corresponding command or plug-in file, No need to consider the other assorted JS files (except for a few plugins, about these plugins will be compiled a dependency list for students to refer to). In theory, all commands can be replaced with plug-ins, but the main reason for separating them is that the commands are static methods that do not have to be initialized with the editor instance, which optimizes the performance of the editor. The plug-in is initialized with the editor and has a slight performance impact, but the plugin can do more complex functions than the command. One of the most important features of the plugin is that you can either register the command for the editor or the editor to bind to the listener event. This feature makes it possible to add any functionality to the editor independently in the plugin. 3. above the command plug-in layer is the UI layer。 The UI design of Ueditor is almost completely decoupled from the core layer and command plug-in layer, with a few simple configurations to add additional UI elements and functionality to the interface for the editor, which will be described in more detail below. 2.
2. back to top
3. back to top
4. back to top
5. back to top
0, HTTP://UEDITOR.BAIDU.COM/WEBSITE/1, Https://baike.baidu.com/item/UEditor2,
6. back to top
Ylbtech
Source: http://ylbtech.cnblogs.com/
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

Javascript-tool:ueditor

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.