Toggle lists and change indentation

The list and indentation APIs operate on the current block. This example keeps the caret in the same paragraph so the resulting markup is easy to compare.

This paragraph is the current list and indentation target.

HTML output
Ready.
Example configuration - Lists and Indentation
summernote.create('#paragraph-lists-editor', {
  height: 240,
});

summernote.invoke('#paragraph-lists-editor', 'insertOrderedList');
summernote.invoke('#paragraph-lists-editor', 'insertUnorderedList');
summernote.invoke('#paragraph-lists-editor', 'indent');
summernote.invoke('#paragraph-lists-editor', 'outdent');