This is a simple plugin for Summernote that makes the toolbar sticky.
preview.mp4
Include the plugin script after including Summernote:
<!-- include jquery, bootstrap, summernote here -->
<script type="text/javascript" src="summernote-sticky-toolbar.js"></script>
Install sticky toolbar plugin trough npm:
npm install summernote-sticky-toolbar
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