ueditor-plus-v1.2.1-beta and v1.4.4.3 versions before ueditor are both corresponding to the official v1.4.3 version of ueditor.
The version after ueditor-plus-v1.2.1-beta will remain consistent with ueditor official. That is, the ueditor-plus-v1.4.3.1 version corresponds to the v1.4.3.1 version of ueditor.
<dependency>
<groupId>cn.xiexianbin.ueditor</groupId>
<artifactId>ueditor-plus</artifactId>
<version>1.4.3.3</version>
</dependency>
Ueditor official instructions: http://fex.baidu.com/ueditor/#server-jsp, ueditor-plus provides two configuration modes:
The configuration file OSSKey.properties is located in the src/main/resources directory (and the classpath directory of Java). If the OSSKey.properties file is not configured or useStatus=false is configured, this function is the same as the functions provided by ueditor; otherwise, the advanced functions of ue will be enabled. .
That is, enable ueditor-plus mode, and the configuration and usage methods are as follows:
Copy all files under /src/ueditor1_4_3-utf8-jsp file to the project directory (the file comes from the modified version of the ueditor official website).
Go to https://github.com/XieXianbin/ueditor-plus/releases to download the ueditor-plus-1.2.0-beta.jar package, copy it to the project's lib directory together with the jar package in the /src/lib folder, and import the project.
Copy /src/OSSKey.properties to the src/main/resources directory, configure the OSSKey.properties file, and modify it as follows:
## ALIYUN OSSClient Configure
# Ueditor use or not story image to ALIYUN OSS, values true/false
# default value false
useStatus=true
# ALIYUN OSS bucket info
bucketName=ali--cdn-shenzhen
key=
secret=
# auto create Bucket to default (HangZhou) zone, values true/false
# default value false
autoCreateBucket=false
## ALIYUN OSS URL
# The Oss Client Endpoind to auth, like http://oss-cn-shenzhen.aliyuncs.com/
ossCliendEndPoint=http://oss-cn-shenzhen.aliyuncs.com/
# ossEndPoint=http://ali--cdn.oss-cn-shenzhen.aliyuncs.com/
ossEndPoint=http://ali--cdn-shenzhen.oss-cn-shenzhen.aliyuncs.com/
## ALIYUN CDN URL
# Ueditor use or not use ALIYUN CDN, values true/false
# default value false, when useCDN=true, the cdnEndPoint will used.
useCDN=false
#cdnEndPoint=http(s)://cdn.xiexianbin.cn.w.kunlunar.com/
cdnEndPoint=
# Ueditor story or not story image to local direct, values true/false
# default value false
useLocalStorager=false
# default Ueditor upload base path, from config.json, when
# useLocalStorager=false, this values will work to delete upload
# file, default value is "upload", unuse now.
#uploadBasePath=upload
# Ueditor use or not use asynchronous model to upload image to ALIYUN OSS
# default value false
useAsynUploader=false
http://127.0.0.1:8080/ueditor/ueditor1_4_3-utf8-jsp/jsp/controller.jsp?action=config
uploadimage://execute upload image or screenshot action name
uploadscraw://execute the action name of the uploading graffiti
uploadvideo://the action name of the upload video
In uploadfile://controller, the action name of the upload video
Email: [email protected]
QQ Group: 20038301
This project is developed and provided with technical support in personal spare time. Donations are welcome!