Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

Summary

The text formats provided in the Standard installation profile have changed.

  • The "Filtered HTML" text format has been split into two:
    1. "Restricted HTML" (for anonymous users, more restrictive than before)
    2. "Basic HTML" (for authenticated users, more permissive than before).
  • The WYSIWYG editor (CKEditor) is enabled for the "Basic HTML" format.

Note: this will not impact sites upgrading from Drupal 7! Only new Drupal 8 sites will get the modified text formats and will have CKEditor enabled by default; Drupal core has never modified existing content and never will.

Formats by role

By default, the following roles have access to these text formats. The one listed first will be the default. For Drupal 8, Anonymous and Authenticated users have different default formats; and the default for Authenticated users has CKEditor enabled.

Drupal 7

  • Anonymous: Filtered HTML
  • Authenticated: Filtered HTML
  • Administrator: Filtered HTML, Full HTML

Drupal 8

  • Anonymous: Restricted HTML
  • Authenticated: Basic HTML
  • Administrator: Basic HTML, Restricted HTML, Full HTML

Filters by format

These are the filters enabled in each format.

Drupal 7

  • Filtered HTML:
    • Limit HTML tags (filter_html): a, em, strong, cite, blockquote, code, ul, ol, li, dl, dt, dd
    • Line break filter (filter_autop)
    • URL filter (filter_url)
    • HTML corrector (filter_htmlcorrector)
  • Full HTML:
    • Line break filter (filter_autop)
    • URL filter (filter_url)
    • HTML corrector (filter_htmlcorrector)

Drupal 8

  • Basic HTML (modified version of Filtered HTML).
    CKEditor enabled, with the following buttons: Bold, Italic, Link, Unlink, BulletedList, NumberedList, Blockquote, Image, Source.
    Filters:
    • Limit HTML tags (filter_html): a, em, strong, cite, blockquote, code, ul, ol, li, dl, dt, dd, h4, h5, h6, p, span, imgMODIFIED: span and img tags now also allowed
    • Restrict images to this site (filter_html_image_secure) — NEW
    • HTML corrector (filter_htmlcorrector)
  • Restricted HTML (modified version of Filtered HTML).
    CKEditor disabled.
    Filters:
    • Limit HTML tags (filter_html): a, em, strong, cite, blockquote, code, ul, ol, li, dl, dt, dd, h4, h5, h6MODIFIED: the rel=nofollow setting is now enabled
    • Line break filter (filter_autop)
    • URL filter (filter_url)
    • HTML corrector (filter_htmlcorrector)
  • Full HTML: changes being worked on at #1933914: Enable CKEditor in the Standard install profile's "Full HTML" text format. CKEditor will be enabled by default
Impacts: 
Site builders, administrators, editors
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done