Use Baidu UMeditor Rich Text Editor java, umeditorjava

Source: Internet
Author: User

Use Baidu UMeditor Rich Text Editor java, umeditorjava
Use Baidu UMeditor Rich Text Editor java

1. Introduction

UMeditor is a lightweight Rich Text Editor.UEditor is much smaller. It is an online Rich Text Editor tailored to meet the needs of portal websites for simple post boxes or reply boxes.

2. Download

Address: http://ueditor.baidu.com/website/umeditor.html

I click the Download button in the official website, half a day did not respond, and then went to github down a copy, github address: https://github.com/fex-team/umeditor/releases

3. Run the demo

①. Prepare before running

Decompress the package first.

    

A new project is created in eclipse.

    

Right-click WebContent

Import the downloaded file package, and you will be OK.

②. Try it

Wrap the <script> tag in the index.html file with form

 

Then click a wave and a null value is printed unexpectedly.

Tried several times can not, I feel the parameter name may be wrong, Baidu on the internet, refer to a brother's blog: http://blog.csdn.net/u014427391/article/details/51113573,

Modify the value parameter in the jsp/getContent. jsp file. Yes.

Display result:

 

Console printing:

 

4. Configuration File

You can set some parameters in this file. Each line has annotations.

One piece of configuration is explained here

Parameters

ImageUrl: Where is the file you want to call to upload images?

ImagePath: where does the image you uploaded exist? It will create a sub-folder for you.

ImageFiledName: key Value

 

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.