olyura / CKEditor4-sticky-toolbar

GNU General Public License v3.0
3 stars 1 forks source link

CKEditor 4 Sticky Toolbar

This plugin for your CKEditor 4 makes the toolbar act sticky inside of editor window while scrolling! Suitable for long articles and large editors. Multiple editors on one page support. For the best experience use this plugin with AutoGrow.

Installation

config.extraPlugins = 'sticky';

Optional. If you have any fixed or sticky header in your interface, to avoid layering you should use config.stikyOffsetTop in your config.js.

config.stikyOffsetTop = 60;

Where 60 is your fixed header height in pixels. This creates an offset from the top of your screen for CKEditor's toolbar. This config is '0' by default.