SE2B_Configuration_Service.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * Smart Editor 2 Configuration : This setting must be changed by service
  3. */
  4. window.nhn = window.nhn || {};
  5. nhn.husky = nhn.husky || {};
  6. nhn.husky.SE2M_Configuration = nhn.husky.SE2M_Configuration || {};
  7. /**
  8. * 스마트에디터2에서 접근하는 JS, IMG 디렉토리
  9. */
  10. nhn.husky.SE2M_Configuration.Editor = {
  11. sJsBaseURL : './js_src',
  12. sImageBaseURL : './img/'
  13. };
  14. /**
  15. * JS LazyLoad를 위한 경로
  16. */
  17. nhn.husky.SE2M_Configuration.LazyLoad = {
  18. sJsBaseURI : "js_lazyload"
  19. };
  20. /**
  21. * CSS LazyLoad를 위한 경로
  22. */
  23. nhn.husky.SE2M_Configuration.SE2B_CSSLoader = {
  24. sCSSBaseURI : "css"
  25. };
  26. /**
  27. * 편집영역 설정
  28. */
  29. nhn.husky.SE2M_Configuration.SE_EditingAreaManager = {
  30. sCSSBaseURI : "css",
  31. sBlankPageURL : "smart_editor2_inputarea.html",
  32. sBlankPageURL_EmulateIE7 : "smart_editor2_inputarea_ie8.html",
  33. aAddtionalEmulateIE7 : [] // IE8 default 사용, IE9 ~ 선택적 사용
  34. };
  35. /**
  36. * 스마트에디터2에서 사용하는 도메인 정보
  37. * http://wiki.nhncorp.com/pages/viewpage.action?pageId=74253685
  38. */
  39. nhn.husky.SE2M_Configuration.LinkageDomain = {
  40. sCommonAPI : 'http://api.se2.naver.com',
  41. sCommonStatic : 'http://static.se2.naver.com',
  42. sCommonImage : 'http://images.se2.naver.com'
  43. };
  44. /**
  45. * [웹접근성]
  46. * 단축키 ALT+, ALT+. 을 이용하여 스마트에디터 영역의 이전/이후 요소로 이동할 수 있다.
  47. * sBeforeElementId : 스마트에디터 영역 이전 요소의 id
  48. * sNextElementId : 스마트에디터 영역 이후 요소의 id
  49. *
  50. * 스마트에디터 영역 이외의 제목 영역 (예:스마트에디터가 적용된 블로그 쓰기 페이지에서의 제목 영역) 에 해당하는 엘리먼트에서 Tab키를 누르면 에디팅 영역으로 포커스를 이동시킬 수 있다.
  51. * sTitleElementId : 제목에 해당하는 input 요소의 id.
  52. */
  53. nhn.husky.SE2M_Configuration.SE2M_Accessibility = {
  54. sBeforeElementId : '',
  55. sNextElementId : '',
  56. sTitleElementId : ''
  57. };
  58. /**
  59. * 링크 기능 옵션
  60. */
  61. nhn.husky.SE2M_Configuration.SE2M_Hyperlink = {
  62. bAutolink : true // 자동링크기능 사용여부(기본값:true)
  63. };