Dropdown menu manager
This plugin adds the feature to describe with the help of the CKEditor's configuration various dropdowns and populate them with desirable items.
Configuration example
config.dropdownmenumanager={
'Widgets': {
items: [{
name: 'textWidget',
label: 'Text Widget',
command: 'theCommandExecutedOnClick',
order: 1
}],
label: {
text: 'Widgets',
width: 45
},
iconPath:'/images/widgetIcon.png'
},
};
To add the dropdowns on the toolbar use the keys in the 'config.dropdownmenumanager' object , in this case: 'Widgets'
Simple toolbar:
config.toolbar = [
['Widgets']
];
In order to show the dropdown menu's label you should not use the default CKEditor iframe functionallity.
Online builder
The recommended way to install all CKEditor add-ons is to create a custom build by using Online builder. To do that, click the Add to my editor button on the plugin page. When you are done, click the Build my editor button on the right side of the page to go to Online builder.
Note: This add-on is already selected to be a part of your current build.
Add-on installation instructions
If you want to add the plugin manually, you will need to:
- Extract the downloaded plugin
.zip
into the plugins
folder of your CKEditor installation. Example:
http://example.com/ckeditor/plugins/dropdownmenumanager
- Enable the plugin by using the
extraPlugins
configuration setting. Example:
config.extraPlugins = 'dropdownmenumanager';
- Download and configure all its dependencies, too.
Add-on dependencies
No additional dependencies.
Note: The plugin may have additional requirements. Check the add-on page and documentation for more details.
Releases
Plugin versions |
CKEditor versions |
4.25 |
4.24 |
4.23 |
|
|
|
|
|