Skip to content

isbut/summernote-table-of-content

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

summernote-table-of-content

Button to create a table of content in summer note. This create a simple table of content with link to H1 and H2. alt text

Todo :

  • Language support
  • Option (h1,h2,h3..)
  • Delete old ToC

Usage

  1. Add link to
<script src="js/summernote-table-of-content.js"></script>
  1. Add button 'tableofcontent' :
$('#editor-container').summernote({
				toolbar:[					
					..
					['insert',['picture','link','videoAttributes','hr','tableofcontent']],
          ..
				],
        })

About

Button to create a table of content in summer note

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%