Baidu Umeditor Rich Text editor Java use

Source: Internet
Author: User

Baidu Umeditor Rich Text editor java use

1. Introduction

Umeditor is a lightweight, Rich text editor that Ueditor is much smaller, is to meet the vast number of portal site for simple post box, or Reply box needs to customize the online Rich text editor

2. Download

Website address: http://ueditor.baidu.com/website/umeditor.html

The author click on 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 with a wave

①. Prepare before running

Unzip it first.

    

A new project was created in eclipse

    

Then right-click on the WebContent

Bring the downloaded package in and it's OK.

②. Give it a try.

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

Then click on a wave, and the result is unexpectedly printing a null

Try to dial a few can not, feel the parameter name may not be wrong, online Baidu, refer to an elder brother's blog: http://blog.csdn.net/u014427391/article/details/51113573,

Change the value parameter in the jsp/getcontent.jsp file. It's through.

Show Results:

Console printing:

4. Configuration files

In this file, you can set some parameters, each line has comments.

Here to explain a configuration

Parameters

IMAGEURL: is the upload file where you uploaded the image to be called

ImagePath: Is the picture you uploaded to exist, which will give you to create a time sub-folder

Imagefiledname: the corresponding key value

Baidu Umeditor Rich Text editor Java use

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.