Heading::DEFAULT_CONFIGURATION

Same name in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Heading::DEFAULT_CONFIGURATION
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Heading::DEFAULT_CONFIGURATION

The default configuration for this plugin.

File

core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php, line 39

Class

Heading
CKEditor 5 Heading plugin.

Namespace

Drupal\ckeditor5\Plugin\CKEditor5Plugin

Code

const DEFAULT_CONFIGURATION = [
    'enabled_headings' => [
        'heading2',
        'heading3',
        'heading4',
        'heading5',
        'heading6',
    ],
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.