Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tylerecouture/summernote-list-styles

A summernote extension that allows additional formatting of lists
https://github.com/tylerecouture/summernote-list-styles

Last synced: about 1 month ago
JSON representation

A summernote extension that allows additional formatting of lists

Awesome Lists containing this project

README

        

# summernote-lists
A [Summernote](http://summernote.org/) extension that allows additional formatting of lists.

### Additional styles

Sets the `list-style-type` of `

    ` and `
      ` elements. Options are:

      1. Numbered

      a. Lower Alpha

      A. Upper Alpha

      i. Lower Roman

      I. upper Roman

      • Disc

      ◦ Circle

      □ Square

      ### Usage

      1. Include the js and css
      2. add `listStyles` to your toolbar after `ul` or `ol`:

      $('#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`