editor_config.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. var EditorBasicConfig = {
  2. /* 런타임 시 리소스들을 로딩할 때 필요한 부분으로, 경로가 변경되면 이 부분 수정이 필요. ex) http://xxx.xxx.com */
  3. txHost: 'http://koreanews.buzzinet.net',
  4. /* 런타임 시 리소스들을 로딩할 때 필요한 부분으로, 경로가 변경되면 이 부분 수정이 필요. ex) /xxx/xxx/ */
  5. txPath: '/common/daumeditor/',
  6. /* 수정필요없음. */
  7. txService: 'sample',
  8. /* 수정필요없음. 프로젝트가 여러개일 경우만 수정한다. */
  9. txProject: 'sample',
  10. /* 대부분의 경우에 빈문자열 */
  11. initializedId: "",
  12. /* 에디터를 둘러싸고 있는 레이어 이름(에디터 컨테이너) */
  13. wrapper: "tx_trex_container",
  14. /* 등록하기 위한 Form 이름 */
  15. form: "frmForm",
  16. /*에디터에 사용되는 이미지 디렉터리, 필요에 따라 수정한다. */
  17. txIconPath: "/common/daumeditor/images/icon/editor/",
  18. /*본문에 사용되는 이미지 디렉터리, 서비스에서 사용할 때는 완성된 컨텐츠로 배포되기 위해 절대경로로 수정한다. */
  19. txDecoPath: "/common/daumeditor/images/deco/contents/",
  20. canvas: {
  21. styles: {
  22. color: "#000000",
  23. fontFamily: "굴림",
  24. fontSize: "10pt",
  25. backgroundColor: "#fff",
  26. lineHeight: "1.5",
  27. padding: "8px"
  28. },
  29. showGuideArea: false
  30. },
  31. events: {
  32. preventUnload: false
  33. },
  34. sidebar: {
  35. attachbox: {
  36. show: true,
  37. confirmForDeleteAll: true
  38. }
  39. },
  40. size: {
  41. contentHeight: 100
  42. }
  43. };