Skip to content

ilyasozkurt/summernote-sticky-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Summernote Sticky Toolbar

This is a simple plugin for Summernote that makes the toolbar sticky.

preview.mp4

Installation

Classic

Include the plugin script after including Summernote:

<!-- include jquery, bootstrap, summernote here -->

<script type="text/javascript" src="summernote-sticky-toolbar.js"></script>

Via npm

Install sticky toolbar plugin trough npm:

npm install summernote-sticky-toolbar

Configuration

Enable and configure the sticky toolbar plugin.

$('.summernote').summernote({
    stickyToolbar: {
        enabled: true, // enable/disable sticky toolbar
        offset: 0, //y offset from top
        zIndex: 9999 //z-index of the toolbar
    }
});

Please do not forget to star the repository if you like it!

Sponsored by hometrust.app