summernote-lists
December 25, 2018 · View on GitHub
A Summernote extension that allows additional formatting of lists.
Additional styles
Sets the list-style-type of <ul> and <ol> elements. Options are:
1. Numbered
a. Lower Alpha
A. Upper Alpha
i. Lower Roman
I. upper Roman
• Disc
◦ Circle
□ Square
Usage
-
Include the js and css
-
add
listStylesto your toolbar afterulorol:$('#summernote').summernote({ toolbar: [ ... ['para', ['ul', 'ol', 'listStyles', 'paragraph']], ] });
Working Examples
- bootstrap3: https://rawgit.com/tylerecouture/summernote-list-styles/master/Example/example.html
- bootstrap4: see
Example/example-bs4.html