...
HTML |
---|
<!-- external modules -->
<script type="text/javascript" src='/se/resource/synapeditor/externals/formulaParser/formula-parser.min.js'></script>
<script type="text/javascript" src='/se/resource/synapeditor/externals/SEDocModelParser/SEDocModelParser.min.js'></script>
<script type="text/javascript" src='/se/resource/synapeditor/externals/SEShapeManager/SEShapeManager.min.js'></script>
<script type="text/javascript" src='/se/resource/synapeditor/externals/codeMirror/codemirror.min.js'></script>
<script type="text/javascript" src="/se/resource/synapeditor/externals/codeMirror/xml.min.js"></script>
<link rel='stylesheet' href='/se/resource/synapeditor/externals/codeMirror/codemirror.min.css'>
<!-- Synap Editor -->
<script src='/se/resource/synapeditor/synapeditor.full.config.js'></script>
<script src='/se/resource/synapeditor/synapeditor.min.js'></script>
<link href='/se/resource/synapeditor/synapeditor.min.css' rel='stylesheet' type='text/css'>
<!-- plugins -->
<!-- plugins: tuiImageEditor -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditor.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditor.min.css">
<!-- plugins: webAccessibilityChecker -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/webAccessibilityChecker/webAccessibilityChecker.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/webAccessibilityChecker/webAccessibilityChecker.min.css">
<!-- plugins: webSpellChecker -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/webSpellChecker/webSpellChecker.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/webSpellChecker/webSpellChecker.min.css">
<!-- plugins: characterPicker -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/characterPicker/characterPicker.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/characterPicker/characterPicker.min.css">
<!-- plugins: personalDataProtection -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/personalDataProtection/personalDataProtection.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/personalDataProtection/personalDataProtection.min.css">
<!-- plugins: quoteExtension -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/quoteExtension/quoteExtension.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/quoteExtension/quoteExtension.min.css">
<!-- plugins: horizontalLineExtension -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/horizontalLineExtension/horizontalLineExtension.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/horizontalLineExtension/horizontalLineExtension.min.css">
<!-- plugins: forbiddenWordDetection -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/forbiddenWordDetection/forbiddenWordDetection.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/forbiddenWordDetection/forbiddenWordDetection.min.css">
<!-- plugins: shapeEditor -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/shapeEditor/shapeEditor.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/shapeEditor/shapeEditor.min.css">
<!-- plugins: formEditor -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/formEditor/formEditor.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/formEditor/formEditor.min.css">
<!-- plugins: mathType -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/mathType/wirisplugin-generic.js"></script>
<script type="text/javascript" src="/se/resource/synapeditor/plugins/mathType/mathType.min.js"></script>
<!-- plugins: aiWriteSupporter -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/aiWriteSupporter/aiWriteSupporter.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/aiWriteSupporter/aiWriteSupporter.min.css">
<!-- plugins: ocr -->
<script type="text/javascript" src="/se/resource/synapeditor/plugins/ocr/ocr.min.js"></script>
<link rel="stylesheet" href="/se/resource/synapeditor/plugins/ocr/ocr.min.css">
<!-- 본문 시작 -->
<div style="background-color: #ffffff; width:99%; height:600px;">
<div id="synapEditor"></div>
</div>
<script>
window.onload = function () {
synapEditorConfig['editor.mode.sticky'] = false; // 2019. 05. 07 jy 추가
synapEditorConfig['editor.toolbar'] = [
'new', 'open', 'template', 'layout', 'autoSave', '|',
'print', 'pageBreak', 'contentsProperties', '|',
'undo', 'redo', '|',
'copy', 'cut', 'paste', '|',
'copyRunStyle', 'pasteRunStyle', '|',
'ruler', 'guide', 'source', 'preview', 'fullScreen', '|',
'webSpellChecker', 'webAccessibilityChecker', 'personalDataProtection', 'forbiddenWordDetection', 'find', 'conversion', '|',
'help', 'about', '-',
'bulletList', 'numberedList', 'multiLevelList', '|',
'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', '|',
'decreaseIndent', 'increaseIndent', '|',
'paragraphProperties', '|',
'link', 'unlink', 'bookmark', '|',
'ocr', 'openAIInteraction', '|',
'image', 'background', 'video', 'file', '|',
'mathType.math', 'mathType.chem', '|',
'table', 'div', 'drawAbsolutePositionDiv', 'horizontalLine', 'quote', '|', 'selectionMode', 'shapeEditor',
'specialCharacter', 'emoji', '-',
'paragraphStyleWithText', '|',
'fontFamilyWithText', '|',
'fontSizeWithText', '|',
'lineHeightWithText', '|',
'bold', 'italic', 'underline', 'strike', '|',
'growFont', 'shrinkFont', '|',
'fontColor', 'fontBackgroundColor', '|',
'superScript', 'subScript', '|',
'customRunStyle', 'removeRunStyle', 'removeStyle', '|',
'customParagraphStyle', '|',
'responsive', '-',
// 폼 요소 삽입 버튼들
'formEditor_text', 'formEditor_textarea', 'formEditor_select',
'formEditor_radio', 'formEditor_checkbox', 'formEditor_button',
'formEditor_hidden', 'formEditor_datalist', 'formEditor_fieldset', 'formEditor_form'
];
synapEditorConfig['ocr.config'] = {
'url': '/se/ocr'
};
synapEditorConfig['aiWriteSupporter.config'] = {
'url': '/se/requestGPT',
'ocrUrl': '/se/ocr'
};
// 체험판 ~ April 26, 2023 – May 10, 2023
synapEditorConfig['webSpellChecker.config'] = {
'url': 'https://svc.webspellchecker.net/api',
'customerid': 'BwkpONxqkVeVHli',
'defaultLanguage': 'ko_KR'
},
window.editor = new SynapEditor('synapEditor', synapEditorConfig);
}
</script> |
...