CKEditor IndentBlock
Categories
Component ID
2791111
Component name
CKEditor IndentBlock
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
485
Component created
Component changed
Component body
This project integrates the CKEditor IndentBlock plugin with the CKEditor in Drupal 8 core.
The IndentBlock plugin adds the functionality of indenting text paragraphs using CKEditor. The plugin doesn't come with its own buttons, but uses the same buttons as the built-in Indent plugin which provides the functionality of increasing/decreasing the indentation of list items. The configuration allows to enable/disable the IndentBlock plugin for each text format individually.
Requires core CKEditor and contributed Libraries module.
Installation
- Download the plugin from http://ckeditor.com/addon/indentblock
- Place the plugin in the root libraries folder (/libraries).
- Enable CKEditor IndentBlock module in the Drupal administration Extend menu.
Adding paragraph indentation to a text format
- Go to menu Configuration=>Text formats and editors.
- Click on the Configuration button of the text format (i.e. Simple HTML).
- If not already in the toolbar, drag the buttons with the title tags indent and outdent into it, which enables the built-in Indent plugin for lists.
- Open the vertical tab Indent Block and make sure the plugin is enabled.
- Make sure, the tag
<p class>is added to the field Allowed HTM tags, otherwise the buttons will not become active for paragraphs despite the IndentBlock plugin being enabled.
