Page tree

Versions Compared

Key

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

...

Experiencing

HTML
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>

<!-- 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://synapeditor.com/se/resource/synapeditor/externals/codeMirror/codemirror.min.css'>

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


<!-- Synap Editor -->
<script src='https://synapeditor.com/se/resource/synapeditor.config.js'></script>
<script src='https://synapeditor.com/se/resource/synapeditor/2.4.0/synapeditor.pkgd.min.js'></script>
<link href='https://synapeditor.com/se/resource/synapeditor/2.4.0/synapeditor.pkgd.min.css' rel='stylesheet' type='text/css'>

<div id="synapEditor">
	인라인 에디터입니다It is the inline editor.
</div>
<script>
		synapEditorConfig['editor.type'] = 'inline';
		synapEditorConfig['editor.size.height'] = '150px';
		window.editor = new SynapEditor("synapEditor", synapEditorConfig, document.getElementById('synapEditor').innerHTML);
</script>

...


Configuring

Code Block
languagexml
<div id='synapEditor'>
	인라인 에디터입니다It is the inline editor.
</div>

<script>
	new SynapEditor('synapEditor', {
		//...
		'editor.type': 'inline',
		//...
	}, document.getElementById('synapEditor').innerHTML);
</script>

...