...
Code Block | ||||
---|---|---|---|---|
| ||||
var runobj = editor.getAPIModelById('id'); runobj.remove(); |
replace(html)
- html <String> 교체할 HTML String.
...
Code Block | ||||
---|---|---|---|---|
| ||||
var runobj = editor.getAPIModelById('id'); runobj.replace('<p><span>Paragraph replaced</span></p>'); |
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
var runobj = editor.getAPIModelById('id'); runobj.remove(); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
var runobj = editor.getAPIModelById('id'); runobj.replace('<p><span>Paragraph replaced</span></p>'); |
...