This plugin adds a command that allows for grouping of content blocks under a <div> element as a container, with styles and attributes optionally specified in a dedicated dialog.
It adds the Create Div Container toolbar button and dialog window as well as context menu entries that let you manage the created <div> container.
It is possible to configure the created <div> element to wrap an entire HTML table instead of individual cells with the config.div_wrapTable option.
This is an official plugin provided and supported by CKEditor developers.
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
pluginsfolder of your CKEditor installation. Example:
- Enable the plugin by using the
extraPluginsconfiguration setting. Example:
config.extraPlugins = 'div';
- Download and configure all its dependencies, too.
|Plugin versions||CKEditor versions|
The first bug fixing release for CKEditor 4.12.
The fourth bug fixing release for CKEditor 4.11.
The first bug-fixing release for release for CKEditor 4.10.