scribe-plugin-toolbar-dropdown
v0.1.1
Published
Dropdown toggle for the scribe toolbar
Downloads
4
Readme
scribe-plugin-toolbar-dropdown
A plugin for the scribe Toolbar to use plugins in a dropdown.
Usage
var scribePluginToolbar = require('scribe-plugin-toolbar');
var scribePluginToolbarDropdown = require('scribe-plugin-toolbar-dropdown');
scribe.use(scribePluginToolbar(toolbarNode));
scribe.use(scribePluginToolbarDropdown(toolbarNode, {
defaultCommand: 'p',
selector: '.toolbar-dropdown',
activeSelector: '.toolbar-dropdown-active'
}));
Installation
bower install scribe-plugin-toolbar-dropdown