INTEREST JOURNAL DRUPAL & WEB

Drupal Guide in Detail: 6.16 Configuring Text Formats and Editors

About 400 words 2 min read

Japanese ↗
On this page

Detailed guide. An unofficial adaptation of User Guide 6.16. Source updated April 14, 2025; reviewed November 6, 2026. No running-Drupal procedure test has been performed.

Official source ↗ · Previous: 6.15 Understanding Text Formats, Editors and XSS · Chapter 6 overview

Goal and prerequisites

Add a horizontal rule (<hr>) and its toolbar button to Basic HTML. Check that Filter, Text Editor, CKEditor 5 and the format exist, and that the administrator has appropriate permissions. Source profile assumptions may differ from the installation.

Adapted procedure

Open Configuration → Content authoring → Text formats and editors (/admin/config/content/formats) and configure Basic HTML. Check the selected editor, then move the horizontal-line button from Available buttons to the Active toolbar. The source also describes selecting buttons with Tab and moving them with arrow keys.

Inspect filter processing order without changing it unnecessarily. Verify that allowed HTML includes <hr>; in the source example adding the button updates allowed tags. Check the controls and behavior presented by the installed CKEditor 5 version. Save configuration, then verify an editing form using this format and its saved output.

Security notes

SA-CORE-2026-013 ↗ fixes CKEditor XSS, first in 11.4.7, 11.3.17 and 10.6.17. Content creation or editing access can suffice even when the attacker cannot use CKEditor themselves. Review additional plugins separately.

SA-CONTRIB-2026-299 ↗ concerns reflected XSS in the HighlightJs CKEditor 5 preview. It applies when that plugin is used, not indiscriminately to core-only installations.

Our verification examples

Check the button, allowed tag, role access and rendered horizontal rule separately. If changes are missing, inspect the selected format and saved configuration before caches. This static documentation work has not changed a Drupal administration setting.

Sources, credits and changes

Source: Drupal User Guide 6.16 ↗ . Contributors and source links listed in its Attributions: Boris Doesborg ↗ · Joe Shindelar ↗ · Drupalize.Me . Refer to the source for writing, editing and adaptation roles, and to the guide-wide credits ↗ .

Copyright remains with the individual contributors; the official copyright page ↗ states © 2015–2025. Changes include reorganized explanations and procedures, our preparation and verification examples, troubleshooting notes, source-interpretation qualifications and release references. Original screenshots and videos are not reproduced. This adapted text is shared under CC BY-SA 2.0 . It is not an official edition or endorsement. This notice does not license unrelated articles or the site design.

Previous: 6.15 Understanding Text Formats, Editors and XSS · Chapter 6 overview

Chapter 5 details · Chapter 7 details · All chapters · Search official information

Back to chapter contents ↗