가로줄 확장, 인용문구 확장 기능을 이용해서 문서에 다양한 형식을 삽입해 보세요.
체험하기
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>
<p><span>​</span></p>
<p><span>​</span></p>
<p><span>​</span></p>
<blockquote class="ext-quote2" style="padding-left: 5px; margin: 5px 0px; border-left: 3px solid rgb(204, 204, 204);">
<hr class="ext-hl6" style="margin: 0px 0px 10px; height: 10px; border-color: rgb(0, 0, 0); border-style: hidden hidden solid; border-width: 1px;">
<p>다양한 가로줄과 인용문구를</p>
<p>자유롭게 삽입해 보세요</p>
</blockquote>
<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> |