Page tree

Versions Compared

Key

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

...

Code Block
languagejs
themeEmacs
editor.execCommand('setParaTagName', 'P');  // Set as normal paragraph
editor.execCommand('setParaTagName', 'H1'); // Set as Title1heading 1
editor.execCommand('setParaTagName', 'H2'); // Set as heading Title22