HWP, DOC, DOCX, XLS, XLSX, ODT, TXT 파일을 열거나 편집영역에 Drag&Drop하면 문서를 임포트 할 수 있습니다.
체험하기
HTML |
---|
<link href<!-- 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.min.css'com/resource/synapeditor/externals/codemirror/xml.min.js"></script> <link rel='stylesheet' typehref='text/http://www.synapeditor.com/resource/synapeditor/externals/codemirror/codemirror.min.css'> <!-- formular parser --> <script type="text/javascript" src="https'http://codewww.jquerysynapeditor.com/jquery-3.3.1.js"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/synapeditor.min.js'></script> <link href='http://www.synapeditor.com/resource/synapeditor/synapeditor.min.css' rel='stylesheet' type='text/css'> <!-- tui Image Editor --> <script type="text/javascript" src='http://www.synapeditor.com/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditor.min.js'></script> <link rel='stylesheet' href='http://www.synapeditor.com/resource/synapeditor/plugins/tuiImageEditor/tuiImageEditor.min.css'> <div style="background-color: #ffffff; width:99%; height:500px;"> <div id="synapEditor"> <p> <span>열기 아이콘을 클릭하거나 여기에 문서를 Drag&Drop 하세요.</span> </p> </div> </div> <script> window.editor = new SynapEditor("synapEditor", { "editor.license":"/resource/license.json", "editor.toolbar": ["new","open"], "editor.menu.show": false, "editor.import.maxSize": 10485760, "editor.import.api": "/importDoc", "editor.upload.maxSize": 3145728, "editor.upload.image.api": "/uploadFile", "editor.upload.video.api": "/uploadFile", "editor.upload.file.api": "/uploadFile" }, document.getElementById('synapEditor').innerHTML); </script> |
...