사이냅에디터에서 제공하는 플러그인을 설정하여 확장 기능을 사용할 수 있습니다.
사용 방법
...
You may apply plugins provided by SynapEditor to use extended features.
How to Use Plugins
...
Excerpt |
---|
Loading Plugins Code Block |
---|
| <!-- 주의Note) Plugin 플러그인files 파일은shall 사이냅에디터be 파일written 아래에under 작성해야SynapEditor 합니다file.-->
<!-- 사이냅에디터SynapEditor 파일File-->
<link rel="stylesheet" href="../synapeditor.min.css">
<script src="../synapeditor.min.js"></script>
<!-- 플러그인Plugin 파일File-->
<link rel="stylesheet" href="../plugins/webAccessibilityChecker/webAccessibilityChecker.min.css">
<script src="../plugins/webAccessibilityChecker/webAccessibilityChecker.min.js"></script> | 플러그인 Generating Plugin UI 생성 Code Block |
---|
| <script>
new SynapEditor('에디터를 초기화 할 HTML Element의 IDID of HTML element to initialize the Editor', {
//...
'editor.toolbar': [
//...
'webAccessibilityChecker' //플러그인에서 제공하는 버튼을 UI상에 노출하고 싶다면 기존 에디터 설정과 동일하게 UI이름으로 플러그인에서 제공하는 이름을 사용하면 됩니다If you wish to expose the buttons provided by a plugin, use the name provided by the plugin for the name of UI, just as the exsiting Editor configurations.
//...
]
//...
});
</script> |
|
제공되는 플러그인
커스텀 플러그인 작성 방법
...
Provided Plugins
...
How to Write a Custom Plugin
...