Last updated on
9 November 2016

The Text Editor module is included in Drupal 8 core.

It is inspired, and in some parts functionally identical to the Drupal 7 Wysiwyg module.

The Text Editor module provides a framework to extend the user interface on text fields that allow HTML input. Without the Text Editor module, fields accept only text where formatting must be typed manually, such as entering a <strong> tag to make text bold or an <em> tag to italicize text. The Text Editor module allows these fields to be enhanced with rich text editors (assistive editors, WYSIWYG editors) or toolbars, which make entering and formatting content easier.

WYSIWYG? What about structured content?

Of course, having the Text Editor module in Drupal 8 does not mean we're no longer true to structured content principles including filter on output.

What is this, I thought Drupal 8 included CKEditor?

This module provides a framework that other modules can use to provide assistive editors — such as the CKEditor module that Drupal 8 core indeed includes. So, the CKEditor module uses the infrastructure that this module provides. Thanks to this module, it's possible to support other assistive text editors without having to redo all the integration work that went into integrating CKEditor with Drupal.


This module actually provides the following functionality used in Drupal 8's built-in CKEditor module, and it can be reused by different text editors:

Issue queue


See also