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

View: 12334|Reply: 0

[Other] ueditor multi-image upload removes the online management and image search tab functions

[Copy link]
Posted on 11/25/2016 5:09:43 PM | | | |



Find the image.html in the ueditor source code package and comment out the following code on the page

            <span class="tab" data-content-id="online"><var id="lang_tab_online"></var></span>
            <span class="tab" data-content-id="search"><var id="lang_tab_search"></var></span>

If there is still a problem with the comment, you know to delete these two lines of code.

In my environment, I commented out these two lines of code and it didn't work, an error was reported, and the trace found that the array length of the tab I got in the image.js was 3, the first two were normal HTMLSpanElement objects, but the third was the HTMLCommentElement object.



I suspect that the comment is also treated as an object, so I decisively delete it!!

Just delete it and it's OK
File location: \ueditor\dialogs\image\image.html




Previous:A workaround for MVC to detect a potentially dangerous Request.Form value from the client
Next:[.net confusion] NET Reactor 4.9.7 obfuscation tool uses diagrams
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