Page tree

Versions Compared

Key

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

...

Code Block
languagejs
themeEmacs
var paragraphcontainer = editor.getAPIModelById('id');
paragraphcontainer.remove();

replace(html)

  • html <String> 교체할 HTML String.

...

Code Block
languagejs
themeEmacs
var paragraphcontainer = editor.getAPIModelById('id');
paragraphcontainer.replace('<p><span>Paragraph replaced</span></p>');

...

Code Block
languagejs
themeEmacs
var tablecontainer = editor.getAPIModelById('id');
tablecontainer.setHeight(200);
tablecontainer.setHeight(200, 'px');

setWidth(value[, unit = 'px'])

...

Code Block
languagejs
themeEmacs
var tablecontainer = editor.getAPIModelById('id');
tablecontainer.setWidth(400);
tablecontainer.setWidth(100, '%');