SE2B_Configuration_General.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. nhn.husky.SE2M_Configuration.Quote = {
  8. sImageBaseURL : 'http://static.se2.naver.com/static/img'
  9. };
  10. nhn.husky.SE2M_Configuration.CustomObject = {
  11. sVersion : 1,
  12. sClassName : '__se_object',
  13. sValueName : 'jsonvalue',
  14. sTagIdPrefix : 'se_object_',
  15. sTailComment : '<!--__se_object_end -->',
  16. sBlankTemplateURL : nhn.husky.SE2M_Configuration.LinkageDomain.sCommonStatic + '/static/db_attach/iframe_template_for_se1_obj.html',
  17. sAttributeOfEmpty : 's_isempty="true"',
  18. sAttributeOfOldDB : 's_olddb="true"',
  19. sBlock : '<div class="_block" style="position:absolute;z-index:10000;background-color:#fff;"></div>',
  20. sBlockTemplate : '<div[\\s\\S]*?class=[\'"]?_block[\'"]?[\\s\\S]*?</div>',
  21. sHighlight : '<div class="_highlight" style="position:absolute;width:58px;height:16px;line-height:0;z-index:9999"><img src="' + nhn.husky.SE2M_Configuration.LinkageDomain.sCommonStatic + '/static/img/pencil2.png" alt="" width="58" height="16" style="vertical-align:top"></div>',
  22. sHighlightTemplate : '<div[\\s\\S]*?class=[\'"]?_highlight[\'"]?[\\s\\S]*?</div>',
  23. sHtmlTemplateStartTag : '<!-- se_object_template_start -->',
  24. sHtmlTemplateEndTag : '<!-- se_object_template_end -->',
  25. sHtmlFilterTag : '{=sType}_{=sSubType}_{=nSeq}',
  26. sTplHtmlFilterTag : '<!--{=sType}_{=sSubType}_(\\d+)-->',
  27. sImgComServerPath : nhn.husky.SE2M_Configuration.LinkageDomain.sCommonStatic + '/static/img/reviewitem',
  28. nMaxWidth : 548
  29. };
  30. nhn.husky.SE2M_Configuration.SE2M_ReEditAction = {
  31. bUsed : true,
  32. nSecDisplayDulationReEditMsg : 3,
  33. aReEditGuideMsg : [
  34. '이미지 파일은 1회 클릭 시 크기 조절, 더블클릭 시 재편집이 가능합니다.',
  35. '첨부한 파일을 더블클릭 시 재편집이 가능합니다.',
  36. '첨부한 글양식 테이블을 드래그시 테이블 재편집이 가능합니다.',
  37. '첨부한 표를 드래그 시 표 재편집이 가능합니다.'
  38. ]
  39. };
  40. nhn.husky.SE2M_Configuration.SE2M_ColorPalette = {
  41. bUseRecentColor : false
  42. };
  43. nhn.husky.SE2M_Configuration.QuickEditor = {
  44. common : {
  45. bUseConfig : false
  46. }
  47. };