• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / itsm_git star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
itsm_gitsrcmainwebappse2jsserviceSE2BasicCreator.js
Download as .zip file
File name
Commit message
Commit date
DATABASE
첫번째 커밋
06-19
service/impl
첫번째 커밋
06-19
src/main
첫번째 커밋
06-19
web
첫번째 커밋
06-19
.gitignore
첫번째 커밋
06-19
pom.xml
첫번째 커밋
06-19
searchQuery.sql
첫번째 커밋
06-19
File name
Commit message
Commit date
java/egovframework
첫번째 커밋
06-19
resources
첫번째 커밋
06-19
webapp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
WEB-INF
첫번째 커밋
06-19
common
첫번째 커밋
06-19
crosseditor/binary/images
첫번째 커밋
06-19
css
첫번째 커밋
06-19
direct
첫번째 커밋
06-19
font-flexslider
첫번째 커밋
06-19
fonts
첫번째 커밋
06-19
html
첫번째 커밋
06-19
images
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
se2
첫번째 커밋
06-19
sso
첫번째 커밋
06-19
email.txt
첫번째 커밋
06-19
engleftmenu03.html
첫번째 커밋
06-19
engleftmenu04.html
첫번째 커밋
06-19
engleftmenu05.html
첫번째 커밋
06-19
engleftmenu06.html
첫번째 커밋
06-19
index.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
css
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
photo_uploader
첫번째 커밋
06-19
SmartEditor2.html
첫번째 커밋
06-19
SmartEditor2Skin.html
첫번째 커밋
06-19
SmartEditor2Skin_en_US.html
첫번째 커밋
06-19
SmartEditor2Skin_ja_JP.html
첫번째 커밋
06-19
SmartEditor2Skin_ko_KR.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_CN.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_TW.html
첫번째 커밋
06-19
SmartEditor2noframe.html
첫번째 커밋
06-19
smart_editor2_inputarea.html
첫번째 커밋
06-19
smart_editor2_inputarea_ie8.html
첫번째 커밋
06-19
File name
Commit message
Commit date
lib
첫번째 커밋
06-19
service
첫번째 커밋
06-19
smarteditor2.js
첫번째 커밋
06-19
smarteditor2.min.js
첫번째 커밋
06-19
File name
Commit message
Commit date
HuskyEZCreator.js
첫번째 커밋
06-19
SE2BasicCreator.js
첫번째 커밋
06-19
SE2M_Configuration.js
첫번째 커밋
06-19
hp_SE2M_AttachQuickPhoto.js
첫번째 커밋
06-19
hp_SE_OuterIFrameControl.js
첫번째 커밋
06-19
hp_SE_ToolbarToggler.js
첫번째 커밋
06-19
husky_SE2B_Lang_en_US.js
첫번째 커밋
06-19
husky_SE2B_Lang_ja_JP.js
첫번째 커밋
06-19
husky_SE2B_Lang_ko_KR.js
첫번째 커밋
06-19
husky_SE2B_Lang_zh_CN.js
첫번째 커밋
06-19
husky_SE2B_Lang_zh_TW.js
첫번째 커밋
06-19
rosewiper 06-19 7ef7d0e 첫번째 커밋 UNIX
Raw Open in browser Change history
/* Copyright (C) NAVER corp. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ function createSEditor2(elIRField, htParams, elSeAppContainer){ if(!window.$Jindo){ parent.document.body.innerHTML="진도 프레임웍이 필요합니다.<br>\n<a href='http://dev.naver.com/projects/jindo/download'>http://dev.naver.com/projects/jindo/download</a>에서 Jindo 1.5.3 버전의 jindo.min.js를 다운로드 받아 /js 폴더에 복사 해 주세요.\n(아직 Jindo 2 는 지원하지 않습니다.)"; return; } var elAppContainer = (elSeAppContainer || jindo.$("smart_editor2")); var elEditingArea = jindo.$$.getSingle("DIV.husky_seditor_editing_area_container", elAppContainer); var oWYSIWYGIFrame = jindo.$$.getSingle("IFRAME.se2_input_wysiwyg", elEditingArea); var oIRTextarea = elIRField?elIRField:jindo.$$.getSingle("TEXTAREA.blind", elEditingArea); var oHTMLSrc = jindo.$$.getSingle("TEXTAREA.se2_input_htmlsrc", elEditingArea); var oTextArea = jindo.$$.getSingle("TEXTAREA.se2_input_text", elEditingArea); if(!htParams){ htParams = {}; htParams.fOnBeforeUnload = null; } htParams.elAppContainer = elAppContainer; // 에디터 UI 최상위 element 셋팅 htParams.oNavigator = jindo.$Agent().navigator(); // navigator 객체 셋팅 htParams.I18N_LOCALE = htParams.I18N_LOCALE || "ko_KR"; var oEditor = new nhn.husky.HuskyCore(htParams); oEditor.registerPlugin(new nhn.husky.CorePlugin(htParams?htParams.fOnAppLoad:null)); oEditor.registerPlugin(new nhn.husky.StringConverterManager()); oEditor.registerPlugin(new nhn.husky.SE2M_AttachQuickPhoto(elAppContainer)); // 사진 if(htParams.bSkipXssFilter !== true){ // 보안 필터링 플러그인 (TODO:소스분리 및 블랙리스트 옵션 추가) oEditor.registerPlugin({ _rxFilter:/<\/*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*?>/gi, $ON_REGISTER_CONVERTERS : function() { var fXssFilter = jindo.$Fn(function(sHtml){ return sHtml.replace(this._rxFilter, ""); }, this).bind(); this.oApp.exec("ADD_CONVERTER",["HTMLSrc_TO_IR", fXssFilter]); this.oApp.exec("ADD_CONVERTER",["IR_TO_DB", fXssFilter]); } }); } var htDimension = { nMinHeight:205, nMinWidth:parseInt(elIRField.style.minWidth, 10)||570, nHeight:elIRField.style.height||elIRField.offsetHeight, nWidth:elIRField.style.width||elIRField.offsetWidth }; var htConversionMode = { bUseVerticalResizer : htParams.bUseVerticalResizer, bUseModeChanger : htParams.bUseModeChanger }; var aAdditionalFontList = htParams.aAdditionalFontList; oEditor.registerPlugin(new nhn.husky.SE_EditingAreaManager("WYSIWYG", oIRTextarea, htDimension, htParams.fOnBeforeUnload, elAppContainer)); oEditor.registerPlugin(new nhn.husky.SE_EditingArea_WYSIWYG(oWYSIWYGIFrame)); // Tab Editor 모드 oEditor.registerPlugin(new nhn.husky.SE_EditingArea_HTMLSrc(oHTMLSrc)); // Tab HTML 모드 oEditor.registerPlugin(new nhn.husky.SE_EditingArea_TEXT(oTextArea)); // Tab Text 모드 oEditor.registerPlugin(new nhn.husky.SE2M_EditingModeChanger(elAppContainer, htConversionMode)); // 모드간 변경(Editor, HTML, Text) oEditor.registerPlugin(new nhn.husky.SE_PasteHandler()); // WYSIWYG Paste Handler oEditor.registerPlugin(new nhn.husky.HuskyRangeManager(oWYSIWYGIFrame)); oEditor.registerPlugin(new nhn.husky.Utils()); oEditor.registerPlugin(new nhn.husky.SE2M_UtilPlugin()); oEditor.registerPlugin(new nhn.husky.SE_WYSIWYGStyler()); oEditor.registerPlugin(new nhn.husky.SE2M_Toolbar(elAppContainer)); oEditor.registerPlugin(new nhn.husky.Hotkey()); // 단축키 oEditor.registerPlugin(new nhn.husky.SE_EditingAreaVerticalResizer(elAppContainer, htConversionMode)); // 편집영역 리사이즈 oEditor.registerPlugin(new nhn.husky.DialogLayerManager()); oEditor.registerPlugin(new nhn.husky.ActiveLayerManager()); oEditor.registerPlugin(new nhn.husky.SE_WYSIWYGStyleGetter()); // 커서 위치 스타일 정보 가져오기 oEditor.registerPlugin(new nhn.husky.SE_WYSIWYGEnterKey("P")); // 엔터 시 처리, 현재는 P로 처리 oEditor.registerPlugin(new nhn.husky.SE2M_ColorPalette(elAppContainer)); // 색상 팔레트 oEditor.registerPlugin(new nhn.husky.SE2M_FontColor(elAppContainer)); // 글자색 oEditor.registerPlugin(new nhn.husky.SE2M_BGColor(elAppContainer)); // 글자배경색 oEditor.registerPlugin(new nhn.husky.SE2M_FontNameWithLayerUI(elAppContainer, aAdditionalFontList)); // 글꼴종류 oEditor.registerPlugin(new nhn.husky.SE2M_FontSizeWithLayerUI(elAppContainer)); // 글꼴크기 oEditor.registerPlugin(new nhn.husky.SE2M_LineStyler()); oEditor.registerPlugin(new nhn.husky.SE2M_ExecCommand(oWYSIWYGIFrame)); oEditor.registerPlugin(new nhn.husky.SE2M_LineHeightWithLayerUI(elAppContainer)); // 줄간격 oEditor.registerPlugin(new nhn.husky.SE2M_Quote(elAppContainer)); // 인용구 oEditor.registerPlugin(new nhn.husky.SE2M_Hyperlink(elAppContainer)); // 링크 oEditor.registerPlugin(new nhn.husky.SE2M_SCharacter(elAppContainer)); // 특수문자 oEditor.registerPlugin(new nhn.husky.SE2M_FindReplacePlugin(elAppContainer)); // 찾기/바꾸기 oEditor.registerPlugin(new nhn.husky.SE2M_TableCreator(elAppContainer)); // 테이블 생성 oEditor.registerPlugin(new nhn.husky.SE2M_TableEditor(elAppContainer)); // 테이블 편집 oEditor.registerPlugin(new nhn.husky.SE2M_TableBlockStyler(elAppContainer)); // 테이블 스타일 if(nhn.husky.SE2M_AttachQuickPhoto){ oEditor.registerPlugin(new nhn.husky.SE2M_AttachQuickPhoto(elAppContainer)); // 사진 } oEditor.registerPlugin(new nhn.husky.MessageManager(oMessageMap, htParams.I18N_LOCALE)); oEditor.registerPlugin(new nhn.husky.SE2M_QuickEditor_Common(elAppContainer)); // 퀵에디터 공통(표, 이미지) oEditor.registerPlugin(new nhn.husky.SE2B_CSSLoader()); // CSS lazy load if(window.frameElement){ oEditor.registerPlugin(new nhn.husky.SE_OuterIFrameControl(elAppContainer, 100)); } oEditor.registerPlugin(new nhn.husky.SE_ToolbarToggler(elAppContainer, htParams.bUseToolbar)); oEditor.registerPlugin(new nhn.husky.SE2M_Accessibility(elAppContainer, htParams.I18N_LOCALE)); // 에디터내의 웹접근성 관련 기능모음 플러그인 return oEditor; }

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up