...
HTML |
---|
<link href='http://www.synapeditor.com/resource/synapeditor/synapeditor.css' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src='http://www.synapeditor.com/resource/synapeditor/synapeditor.js'></script>
<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","template"],
"editor.menu.show": false,
"editor.template": [{
"category": "template_work",
"label": "업무문서",
"items": [{
"name": "주간업무보고서",
"path": "/resource/template/work1.html"
},{
"name": "회의록",
"path": "/resource/template/work2.html"
},{
"name": "연말결산보고서",
"path": "/resource/template/work3.html"
},{
"name": "재직증명서(영문)",
"path": "/resource/template/work4.html"
}]
},{
"category": "template_resume",
"label": "이력서",
"items": [{
"name": "이력서",
"path": "/resource/template/resume1.html"
},{
"name": "경력증명서",
"path": "/resource/template/resume2.html"
},{
"name": "이력서(경력+서술)",
"path": "/resource/template/resume3.html"
},{
"name": "이력서(상세+경력)",
"path": "/resource/template/resume4.html"
},{
"name": "표준이력서",
"path": "/resource/template/resume5.html"
}]
},{
"category": "template_misc",
"label": "기타",
"items": [{
"name": "강의포스터",
"path": "/resource/template/misc1.html"
},{
"name": "기본리포트",
"path": "/resource/template/misc2.html"
},{
"name": "일간플래너(달력형)",
"path": "/resource/template/misc3.html"
},{
"name": "일간플래너(리스트형)",
"path": "/resource/template/misc4.html"
}]
}],
"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> |
...