Status title 릴리즈 2.4.0 이상
TOAST UI에서 제공하는 Image-editor를 이용하여 사이냅에디터에서 이미지를 편집할 수 있도록 만드는 플러그인입니다It is the plugin that allows the user to edit image in SynapEditor with image editor provided by TOAST UI.
사용방법
...
How to Use
Loading Plugin File
Code Block | ||||
---|---|---|---|---|
| ||||
<link rel="stylesheet" href="URL of tuiImageEditor.min.css의 urlcss"> <script src="URL of tuiImageEditor.min.js의 urljs"></script> |
UI
플러그인 이름인 You may add the button to toolbar and menu with 'tuiImageEditor'을 사용하여 툴바 영역, 메뉴 영역에 버튼을 추가할 수 있습니다.
...
, the name of the plugin.
Adding to Toolbar
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//... 'editor.toolbar': [ //..., 'tuiImageEditor', //... ], // ... |
...
Adding to Image Balloon Popup
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//... 'editor.balloon': { //... 'image': [ //... 'tuiImageEditor', //... ], //... } //... |
...
Adding to Menu
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//... 'editor.menu.definition': { //..., 'tools': [ //..., 'tuiImageEditor', //... ], //... }, //... |
...