Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
가로줄 확장, 인용문구 확장 기능을 이용해서 문서에 다양한 형식을 삽입해 보세요.

체험하기

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.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 -->
<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'>
<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'>

<div style="background-color: #ffffff; width:99%; height:500px;">
        <div id="synapEditor">
			<p>
				<span>가로줄과 인용문구를 자유롭게 추가해 보세요</span>
			</p>
			<p><span></span></p>

			<p><span></span></p>
		</div>
</div>
<script>
		const config = Object.assign(synapEditorConfig, {
			"editor.license":"/se/resource/license.json",
			"editor.toolbar": [
				"new","|", 
				'horizontalLine',
				'quote'
			],
			"editor.menu.show": false
			});
		window.editor = new SynapEditor("synapEditor", config, document.getElementById('synapEditor').innerHTML);
</script>

...