Ueditor-Plus-V1.2.1-Beta 및 v1.4.4.3 버전은 Ueditor 이전의 공식 v1.4.3 버전의 ueditor에 해당합니다.
ueditor-plus-v1.2.1-beta 이후의 버전은 Ueditor 공무원과 일치합니다. 즉, ueditor-plus-v1.4.3.1 버전은 v1.4.3.1 버전의 ueditor에 해당합니다.
<dependency>
<groupId>cn.xiexianbin.ueditor</groupId>
<artifactId>ueditor-plus</artifactId>
<version>1.4.3.3</version>
</dependency>
ueditor 공식 지침 : http://fex.baidu.com/euditor/#server-jsp, ueditor-plus는 두 가지 구성 모드를 제공합니다.
구성 파일 Osskey.properties는 SRC/Main/Resources 디렉토리 (및 Java의 ClassPath 디렉토리)에 있습니다. osskey.properties 파일이 구성되지 않았거나 usestatus = false가 구성되어 있으면이 함수는 ueditor에서 제공 한 함수와 동일합니다. 그렇지 않으면 UE의 고급 기능이 활성화됩니다. .
즉, ueditor-plus 모드를 활성화하고 구성 및 사용 방법은 다음과 같습니다.
/src /ueditor1_4_3-utf8-jsp 파일 아래의 모든 파일을 프로젝트 디렉토리로 복사합니다 (파일은 Ueditor 공식 웹 사이트의 수정 된 버전에서 나옵니다).
https://github.com/xiexianbin/euditor-plus/releases로 이동하여 ueditor-plus-1.2.0-beta.jar 패키지를 다운로드하고/SRC/LIB 폴더의 JAR 패키지와 함께 프로젝트의 LIB 디렉토리로 복사하십시오.
src/main/resources 디렉토리에 /src/osskey.properties를 복사하고 osskey.properties 파일을 구성하고 다음과 같이 수정하십시오.
## 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.1:8080/euditor/ueditor1_4_3-utf8-jsp/jsp/controller.jsp?action=config
UPLOADIMAGE : // 업로드 이미지 또는 스크린 샷 동작 이름을 실행합니다
UPLOADSCRAW : // 업로드 낙서의 동작 이름을 실행합니다
UPLOADVIDEO : // 업로드 비디오의 동작 이름
uploadfile : // 컨트롤러에서 업로드 비디오의 동작 이름입니다
이메일 : [email protected]
QQ 그룹 : 20038301
이 프로젝트는 개인 여가 시간에 기술 지원을 개발하고 제공합니다. 기부금을 환영합니다!