One, off-topicRecently responsible for the operation of a CMS website, there are many issues related to the editor, such as editing some news blog, thesis module. The system uses the FCKeditor, self-feeling is not very good, such asEspecially in the
TinyMCE custom add image plug-in, tinymce custom plug-in
Requirements:
Insert an image in the Rich Text Editor. The image is from the image library that you can upload on your own.
You can use the built-in tinyMCE plug-in to insert images. This
Go How to use the TinyMCE (Rich Text Editor) in ASP.official website demo and sample code: https://www.tinymce.com/docs/demo/image-tools/Transferred from: http://www.cnblogs.com/hahacjh/archive/2010/07/24/1784268.htmlTinyMCE in ASP. NET is very
The framework of this blog is django + grappeli + filebrowser. The background online editor uses the django-filebrowser to manage tinymce, images, and other resources, in this way, you can use the nsert image plug-in of tinymce to insert images.
So tinymce can display the picture normally. In fact, this feature belongs to the general HTML Rich Text Control basic function. Existing requirements extend the TINYMCE to directly upload local images and then display pictures in the text
Demand:Insert a picture in the rich text editor from a picture library that users can upload themselves.Could have been used in a more disgusting way, that is, directly with the TINYMCE to insert the image plug-in to achieve. Nausea is because this
Create a new uploadimage--index.js file under Mo---tinymce plugins/*** Created by DELL on 2018/8/7.*//*** TINYMCE Plugin* Created by Jerry on 16/8/5.*/TinyMCE. Pluginmanager.add (' Uploadimage ', function (editor) {function Selectlocalimages () {var
1. Download tinymce
Http://www.tinymce.com/
Simplified Chinese Language Pack download: http://www.tinymce.com/i18n/index.php? CTRL = Lang & act = download & pr_id = 1
2. Examples in the downloaded package
Code:
Doctype html > Html >
TINY_MCE Editor, I think very concise, easy to use, but is the picture upload plug-in is charged, and online for half a day did not find open source good upload plugin. But Kung fu is not a conscientious, and finally I found a quite satisfied with
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.