...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var paragraphcontainer = editor.getAPIModelById('id'); paragraphcontainer.remove(); |
replace(html)
- html <String> 교체할 HTML String.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var paragraphcontainer = editor.getAPIModelById('id'); paragraphcontainer.replace('<p><span>Paragraph replaced</span></p>'); |
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var tablecontainer = editor.getAPIModelById('id'); tablecontainer.setHeight(200); tablecontainer.setHeight(200, 'px'); |
setWidth(value[, unit = 'px'])
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var tablecontainer = editor.getAPIModelById('id'); tablecontainer.setWidth(400); tablecontainer.setWidth(100, '%'); |