Home  >  Article  >  Web Front-end  >  Detailed explanation of precautions for UEditor editor

Detailed explanation of precautions for UEditor editor

赶牛上岸
赶牛上岸Original
2018-03-06 13:42:031647browse

UEditor is a WYSIWYG open source rich text editor developed by Baidu WEB front-end R&D department. It is lightweight, customizable, and has excellent user experience. The editor below will share with you a detailed explanation of the precautions for using the UEditor editor during development. Has very good reference value. Let’s follow the editor to take a look, I hope it will be helpful to everyone.

1. To use the UEditor plug-in, you need to configure its path first:

Configure ueditor in the ueditor.config.js file The location of the .config.js file relative to the Ueditor folder;

2. UEditor’s image upload function:

This function only takes effect when the plug-in is deployed to the server;

3. UEditor reports an error "Cannot set property 'innerHTML' of undefined":

The reason for the error is that the setContent function of UEditor was used before the UEditor was created;

The above detailed explanation of the precautions for using the UEditor editor in development is all that the editor has shared with you. The content is complete, I hope it can give you a reference, and I also hope that everyone will support the PHP Chinese website.

Related recommendations:

thinkphp3.2 Embed Baidu editor ueditor method instance

Create multiple files in vue Share a ueditor example tutorial

Easyui ueditor cannot edit the problem integration

The above is the detailed content of Detailed explanation of precautions for UEditor editor. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn