Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

체험하기

HTML
<!-- code mirror -->
<script type="text/javascript" src='https://synapeditor.com/se/resource/synapeditor/externals/codeMirror/codemirror.min.js'></script>
<script type="text/javascript" src="https://synapeditor.com/se/resource/synapeditor/externals/codeMirror/xml.min.js"></script>
<link rel='stylesheet' href='https:/se/synapeditor.com/resource/se/synapeditor/externals/codeMirror/codemirror.min.css'>

<!-- formularexternal parsermodules -->
<script type="text/javascript" src='https://synapeditor.com/se/resource/synapeditor/externals/formulaParser/formula-parser.min.js'></script>


<!-- Synap Editor -->
<script<script type="text/javascript" src='https:/se/resource/synapeditor.com/seexternals/resourceSEDocModelParser/synapeditorSEDocModelParser.configmin.js'></script>
<script type="text/javascript" src='https://synapeditor.com/se/resource/synapeditor/externals/SEShapeManager/synapeditorSEShapeManager.min.js'></script>
<link
href='https://synapeditor.com/se/resource/synapeditor/synapeditor.min.css' rel='stylesheet' type='text/css'>

<!-- tui ImageSynap Editor -->
<script type="text/javascript" src='https://se/resource/synapeditor/synapeditor.comconfig.js'></script>
<script src='/se/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditorsynapeditor.min.js'></script>
<link rel='stylesheet' href='https://synapeditor.com/se/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditorsynapeditor.min.css' rel='stylesheet' type='text/css'>

<div style="background-color: #ffffff; width:99%; height:300px;">
        <div id="synapEditor">Div와 같은 HTML Element를 이용하여 초기화한 사이냅에디터입니다.</div>
</div>
<script>
		window.editor = new SynapEditor('synapEditor', synapEditorConfig, document.getElementById('synapEditor').innerHTML);
</script>


설정하기

Code Block
languagexml
themeEmacs
linenumberstrue
<div id='synapEditor'>
    Div와 같은 HTML Element를 이용하여 초기화한 사이냅에디터입니다.
</div>
 
<script>
	//synapEditorConfig는 에디터 설정 객체입니다.
    new SynapEditor('synapEditor', synapEditorConfig, document.getElementById('synapEditor').innerHTML);
</script>

...