This project is not covered by Drupal’s security advisory policy.

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

  1. Download the plugin from http://ckeditor.com/addon/indentblock
  2. Place the plugin in the root libraries folder (/libraries).
  3. Enable CKEditor IndentBlock module in the Drupal administration Extend menu.

Adding paragraph indentation to a text format

  1. Go to menu Configuration=>Text formats and editors.
  2. Click on the Configuration button of the text format (i.e. Simple HTML).
  3. 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.
  4. Open the vertical tab Indent Block and make sure the plugin is enabled.
  5. 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.

Project information

Downloads