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/forbiddenWordDetection/forbiddenWordDetection/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/forbiddenWordDetectionquoteExtension/forbiddenWordDetectionquoteExtension.min.css'>

<div style="background-color: #ffffff; width:99%; height:500px;">
        <div id="synapEditor">
				<p>
				<span>금칙어를 삽입하고 치환해보세요.</span>
				<span>금칙어 예시 바보, 멍청이</span>
			<blockquote id="se_da5f1b5c-3e49-4f98-be73-7581e526f59f" class="ext-quote2" style="padding-left: 5px; margin: 5px 0px; border-left: 3px solid rgb(204, 204, 204);"><p id="se_07b4be2b-4dbb-4920-9bb0-78c4855ddaa3"><span id="se_cdc1da0a-3f61-49e9-82e4-8ea25b059492">가로줄과 인용문구를 삽입해서 문서를 편집해 보세요.</span></p></blockquote>
				<p>
		</div>
</div>
<script>
		const config = Object.assign(synapEditorConfig, {
			"editor.license":"/se/resource/license.json",
			"editor.toolbar": [
				"new","|",forbiddenWordDetection ],
			"editor.menu.show": false	'horizontalLine',
			"forbiddenWordDetection.config": {
    			"words": ["바보", "멍청이"],
    	'quote'
			],
			"replaceTexteditor.menu.show": "♡"
			}false
			});
		window.editor = new SynapEditor("synapEditor", config, document.getElementById('synapEditor').innerHTML);
</script>

...