This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17392|Reply: 0

[Other] UEditor UMeditor removes local uploads of images

[Copy link]
Posted on 3/21/2018 3:28:46 PM | | | |
UEditor UMeditor editor is Baidu, UMeditor is a lite version of UEditor, many complex functions, we may not be able to use, so, I choose UMeditor editor myself,
Here's an example of the UMeditor editor:




I want to remove the function of local upload of images, only keep the function of adding network pictures, and after searching for a long time, I can't find a way to solve it through the js configuration file, so I refer to Alibaba Cloud's solution:

The JS file link uploaded by Alibaba Cloud um editor image: https://g.alicdn.com/aliyun/directmail/1.2.13/vendor/umeditor/dialogs/image/image.js



I found that Alibaba Cloud removed the local image upload method, which is to hide the div, and then the tab "Network Image" is activated.

After modifying the js code, it is as follows:



The effect is as follows:






Previous:C3 Problems related to drawing bar charts
Next:See the logged-in users under CentOS
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com