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