...
- html <String> 교체할 HTML String.
Element 자신을 파라메터로 넘겨받은 HTML String으로 교체합니다.
| Code Block | ||||
|---|---|---|---|---|
| ||||
var image = editor.getAPIModelById('id');
image.replace('<span>Image replace</span>'); |
remove()
Element 자신을 제거합니다.
| Code Block | ||||
|---|---|---|---|---|
| ||||
var image = editor.getAPIModelById('id');
image.remove(); |
...