Insert paragraphs and switch block formats
This page covers the block-level paragraph commands that still exist in the current editor:
insertParagraph, formatPara, and the heading helpers.
This paragraph is the current block format target.
HTML output
Ready.
Example configuration - Block Formats
summernote.create('#paragraph-block-formats-editor', {
height: 240,
});
summernote.invoke('#paragraph-block-formats-editor', 'insertParagraph');
summernote.invoke('#paragraph-block-formats-editor', 'formatPara');
summernote.invoke('#paragraph-block-formats-editor', 'formatH1');
summernote.invoke('#paragraph-block-formats-editor', 'formatH2');