...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var cellfieldset = editor.getAPIModelById('id'); cellfieldset.append('<span>TEXT</span>'"<input type='radio' id='mothman' name='monster'><label for='mothman'>Mothman</label>"); |
prepend(html)
- html <String> 추가할 HTML String.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
var cellfieldset = editor.getAPIModelById('id'); cellfieldset.prepend('<span>TEXT</span>'"<input type='radio' id='mothman' name='monster'><label for='mothman'>Mothman</label>"); |
remove()
Element 자신을 제거합니다.
| Code Block | ||||
|---|---|---|---|---|
| ||||
var paragraphfieldset = editor.getAPIModelById('id'); paragraphfieldset.remove(); |
replace(html)
- html <String> 교체할 HTML String.
...