Next day--um editor layout and picture additions

Source: Internet
Author: User

Today is the next day, I woke up in the morning to try to achieve the use of Umeditor text editor to add pictures, get a day, finally finished! In fact, it should have been done, but I did not import jar package, so I can not implement the image upload, I am stupid enough. Now I'm going to summarize a piece of upload:

1. Download the UM editor from "Baidu Editor" official website

  

2. Unzip it to any location and the contents of the folder after decompression are as follows:

  

One of the index.html can be deleted, that is an example, if not deployed can be referenced, I was referring to this.

3. Copy this folder under your Web project

  

4, now is the Guide jar package, the introduction of JS, CSS files

    

  

Add a div where you need it, and add an editor to the Div.

  

5, to this point, the picture is completed, you can click the image to add the button to add pictures

  

6, as for some other due to the time relationship, did not get.

Finally, I have two questions: the first is that the picture does not know which location to upload, I can not find. The second is how UM has no attachment add button, I have no way to add attachments. The rest of me will be perfect while doing.

  

Next day--um editor layout and picture additions

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.