...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<title>Synap Editor | Unlimited Rich Text Editor</title>
<link href="synapeditor/synapeditor.min.css" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="synapeditor/synapeditor.config.js"></script>
<script src="synapeditor/synapeditor.min.js"></script>
<script>
$(document).ready(function() {
var se = new SynapEditor("synapEditor", synapEditorConfig);
$('#seform').on('submit', function() {
$('#editor').val( se.getPublishingHtml() );
return true;
});
});
</script>
<body>
<div id="synapEditor"></div>
<form id="seform" name="seform" action="/save" method="post">
<textarea id="editor" style="display:none"></textarea>
<input type="submit" value="SAVE"/>
</form>
</body>
</html> |
3.2 Using <textarea> tag
| Anchor | ||||
|---|---|---|---|---|
|
3.2.1 Include script and css file for SynapEditor with <script> and <link> tags
...
| External Module | 용도 |
|---|---|
| CodeMirror | 소스코드를 더 예쁘게 보여주고 편리하게 편집 할 수 있습니다. |
| formulaParser | 에디터의 표에서 엑셀 함수를 사용할 수 있도록 기능을 확장합니다. |
| SEDocModelParser | hwp, You can display the source code prettier and edit it conveniently. |
| formulaParser | Expand the function so that you can use the Excel function in the editor table. |
| SEDocModelParser | Expands functionality to import doc, docx, xls, xlsx 문서를 임포트할 수 있도록 기능을 확장합니다documents. |
| SEShapeManager | 도형이 포함된 문서에 대한 임포트 및 도형표인이 가능하도록 기능을 확장합니다. 도형편집 플러그인을 사용하시려면 이 모듈을 꼭 적용해야 합니다The function is expanded to enable import and mark-in of a document containing figures. This module must be applied to use the shape editing plug-in. |
Please refer to External Module page for more detailed information.
...