function CKEditor5::getDefaultSettings
Overrides EditorBase::getDefaultSettings
1 call to CKEditor5::getDefaultSettings()
- CKEditor5::buildConfigurationForm in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php  - Form constructor.
 
File
- 
              core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php, line 174  
Class
- CKEditor5
 - Defines a CKEditor 5-based text editor for Drupal.
 
Namespace
Drupal\ckeditor5\Plugin\EditorCode
public function getDefaultSettings() {
  return [
    'toolbar' => [
      'items' => [
        'heading',
        'bold',
        'italic',
      ],
    ],
    'plugins' => [
      'ckeditor5_heading' => Heading::DEFAULT_CONFIGURATION,
    ],
  ];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.