사용 방법
HTML
Code Block | ||
---|---|---|
| ||
<head> <!-- 주의) 플러그인 파일은 사이냅에디터 파일 아래에 작성해야 합니다.--> <!-- 사이냅에디터 --> <link rel="stylesheet" href="../synapeditor.min.css"> <script src="../synapeditor.min.js"></script> <!-- 플러그인 --> <link rel="stylesheet" href="../plugins/webAccessibilityChecker.min.css"> <script src="../plugins/webAccessibilityChecker.min.js"></script> </head> <body> <div id="synapEditor"></div> <script> |
Javascript
Code Block | ||
---|---|---|
| ||
<script> //UI상에 버튼을 노출하고 싶다면 기존 에디터 설정과 동일하게 UI이름으로 플러그인에서 제공하는 이름을 추가하면 됩니다. new SynapEditor('synapEditor', { 'editor.toolbar': ['webAccessibilityChecker'] }); </script> </body> |
제공되는 플러그인
- 개인정보보호
- 맞춤법 검사
- 웹 접근성 검사
- 이미지 편집
- 특수기호/이모지