A Summernote extension that allows additional formatting of lists.
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
-
Include the js and css
-
add
listStyles
to your toolbar afterul
orol
:$('#summernote').summernote({ toolbar: [ ... ['para', ['ul', 'ol', 'listStyles', 'paragraph']], ] });
- bootstrap3: https://rawgit.com/tylerecouture/summernote-list-styles/master/Example/example.html
- bootstrap4: see
Example/example-bs4.html