Introduction
This module enables the Table of Contents plugin from CKEditor.com in your WYSIWYG. This plugin adds a simple Table of Contents widget which crawls the content for Heading-Tags (<h1>, ... ,<h6>) and adds Anchor tags to headings.
Requirements
CKEditor Module (Core)
Installation
- Download the plugin from http://ckeditor.com/addon/contents.
- Place the plugin in the root libraries folder (/libraries).
- Enable CKEditor Table of Contents in the Drupal admin.
- Configure your WYSIWYG toolbar to include the button.
With composer add the following to your repositories then composer require ckeditor/contents
"ckeditor.contents": {
"type": "package",
"package": {
"name": "ckeditor/contents",
"version": "0.11",
"type": "drupal-library",
"extra": {
"installer-name": "contents"
},
"dist": {
"url": "https://download.ckeditor.com/contents/releases/contents_0.11.zip",
"type": "zip"
}
}
},
This project only handles the bridge between Table of Contents and Drupal. For support for the Table of Contents library feel free to ask at their project page.
Supporting organizations:
Initial development
Project information
- Project categories: Content editing experience, Integrations
411 sites report using this module
- Created by ashleyhazle on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

