반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- spring boot
- WebLogic
- grafana
- weblogic 10
- ChannelPipeline
- vue.js
- docker compose mysql
- mybatis
- coalesce
- Selenium
- cassandra
- argo cd
- spring cloud
- QueryDSL
- docker
- jmeter
- KAFKA
- MySQL
- spring boot redis
- RabbitMQ
- JPA
- redis
- docker-compose
- Hibernate
- Netty
- Spring Open Feign
- netflix oss
- Airflow
- Docker Compose
- Redis Sentinel
Archives
- Today
- Total
IT.FARMER
fckeditor 2.6.6 - ckeditor 본문
반응형
fckeditor 3.0 version 로 올라가면서 ckeditor 이라 명칭을 변경하고, 유료로 변해버렸다.
머 어째뜬. ckeditor 3.0 버전은 javascript API만 보면 쉽게 할수 있음.
http://ckeditor.com/ 에서
http://ckeditor.com/download
1. 2.6.6 java - src.zip
2. 2.6 demo - .war 다운로든 받음
1. 번에는 소스코드 및 properties 파일 그리고 tag library 파일 있음.
2. 번에는 JSP sample 파일과 함께 라이브러리 파일
- java-core-2.6 파일은 1번 소스코드 파일이기때문에 넣고 사용하지 않는다.
fckeditor 2.6.6. version 에서 이미지 업로드 삽질한게...
위처럼 JAVA 버전은 서블릿 설정을 해주게 되는데.
"/common/board/fckediter_2_6_6/fckeditor/editor/filemanager/connectors/* "
이부분은 자신의 properties에서 설정한 basePath부분을 맞춰 줘야한다.
머 어째뜬. ckeditor 3.0 버전은 javascript API만 보면 쉽게 할수 있음.
http://ckeditor.com/ 에서
http://ckeditor.com/download
1. 2.6.6 java - src.zip
2. 2.6 demo - .war 다운로든 받음
1. 번에는 소스코드 및 properties 파일 그리고 tag library 파일 있음.
2. 번에는 JSP sample 파일과 함께 라이브러리 파일
- java-core-2.6 파일은 1번 소스코드 파일이기때문에 넣고 사용하지 않는다.
fckeditor 2.6.6. version 에서 이미지 업로드 삽질한게...
<!-- fck web editor 2.6.6 -->
<servlet>
<servlet-name>ConnectorServlet</servlet-name>
<servlet-class>
net.fckeditor.connector.ConnectorServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- fck web editor 2.6.6 servlet-mapping -->
<servlet-mapping>
<servlet-name>ConnectorServlet</servlet-name>
<!-- Do not wrap this line otherwise Glassfish will fail to load this file -->
<url-pattern>/common/board/fckediter_2_6_6/fckeditor/editor/filemanager/connectors/*</url-pattern>
<url-pattern>/common/board/fckediter_2_6_6/fckeditor/editor/filemanager/connectors/*</url-pattern>
</servlet-mapping>
위처럼 JAVA 버전은 서블릿 설정을 해주게 되는데.
"/common/board/fckediter_2_6_6/fckeditor/editor/filemanager/connectors/* "
이부분은 자신의 properties에서 설정한 basePath부분을 맞춰 줘야한다.
default.properties
이렇게만 해주면 default로 손안대고도 SUCCESS!!!
기타 수정은 API혹은 구글링!
참고 : http://java.fckeditor.net/source-repository.html
http://blog.naver.com/i74080?Redirect=Log&logNo=60072065819 <-- 이분꺼 보고 감잡음
fckeditor.basePath = /common/board/fckediter_2_6_6/fckeditor
connector.userFilesPath = /userfiles //웹루트에 만들어줘야할 폴더 - 이미지가 올라가는 폴더
이렇게만 해주면 default로 손안대고도 SUCCESS!!!
기타 수정은 API혹은 구글링!
참고 : http://java.fckeditor.net/source-repository.html
http://blog.naver.com/i74080?Redirect=Log&logNo=60072065819 <-- 이분꺼 보고 감잡음
반응형
'JavaScript > HTML' 카테고리의 다른 글
HTML5 API How is support browser ? (0) | 2012.07.19 |
---|---|
HTML A Tag href (0) | 2012.02.15 |
http://www.corechain.com/index.html (0) | 2010.11.19 |
common.js div 라운드 둥글게 (0) | 2010.07.23 |
JSTL expected (0) | 2010.07.07 |