Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeEmacs
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
languagejs
themeEmacs
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
languagejs
themeEmacs
var paragraphfieldset = editor.getAPIModelById('id');
paragraphfieldset.remove();

replace(html)

  • html <String> 교체할 HTML String.

...