...
HTML |
---|
<!-- jQuery --> <script src="https://code.jquery.com/jquery-3.3.1.js"></script> <!-- code mirror --> <script type="text/javascript" src='http://www.synapeditor.com/resource/synapeditor/externals/codemirror/codemirror.min.js'></script> <script type="text/javascript" src="http://www.synapeditor.com/resource/synapeditor/externals/codemirror/xml.min.js"></script> <link rel='stylesheet' href='http://www.synapeditor.com/resource/synapeditor/externals/codemirror/codemirror.min.css'> <!-- formular parser --> <script type="text/javascript" src='http://www.synapeditor.com/resource/synapeditor/externals/formula-parser/formula-parser.min.js'></script> <!-- Synap Editor --> <script src='http://www.synapeditor.com/resource/synapeditor.config.js'></script> <script src='http://www.synapeditor.com/resource/synapeditor/2.4.0/synapeditor.pkgd.min.js'></script> <link href='http://www.synapeditor.com/resource/synapeditor/2.4.0/synapeditor.pkgd.min.css' rel='stylesheet' type='text/css'> <div style="height:150px;"> <div id="synapEditor"> <h1>인라인 에디터입니다.</h1> </div> </div> <script> synapEditorConfig['editor.type'] = 'inline'; window.editor = new SynapEditor("synapEditor", synapEditorConfig, document.getElementById('synapEditor').innerHTML); </script> |
...