Page tree

Versions Compared

Key

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

...

Code Block
languagejs
themeEmacs
var body = editor.getAPIModels('.se-contents')[0];
body.append('<p><span>APPEND TEXT</span></p>');

...

Code Block
languagejs
themeEmacs
var body = editor.getAPIModels('.se-contents')[0];
body.prepend('<p><span>PREPEND TEXT</span></p>');

...

Code Block
languagejs
themeEmacs
var body = editor.getAPIModels('.se-contents')[0];
body.setHTML('<p><span>본문에 텍스트를HTML를 추가합니다. 기존에 입력된 내용은 모두 지워집니다.</span></p>');

...

Code Block
languagejs
themeEmacs
var body = editor.getAPIModels('.se-contents')[0];
body.setText('본문에 텍스트를 추가합니다. 기존에 입력된 내용은 모두 지워집니다.');

...