You are here

function CKEditor::getDefaultSettings in CKEditor for WYSIWYG Module 8

Implements \Drupal\editor\Plugin\EditorInterface::getDefaultSettings().

Overrides EditorBase::getDefaultSettings

File

lib/Drupal/ckeditor/Plugin/editor/editor/CKEditor.php, line 29
Definition of \Drupal\ckeditor\Plugin\editor\editor\CKEditor.

Class

CKEditor
Defines a CKEditor-based text editor for Drupal.

Namespace

Drupal\ckeditor\Plugin\editor\editor

Code

function getDefaultSettings() {
  return array(
    'toolbar' => array(
      'buttons' => array(
        array(
          'Source',
          '|',
          'Bold',
          'Italic',
          '|',
          'NumberedList',
          'BulletedList',
          'Blockquote',
          '|',
          'JustifyLeft',
          'JustifyCenter',
          'JustifyRight',
          '|',
          'Link',
          'Unlink',
          '|',
          'Image',
          'Maximize',
        ),
      ),
      'format_list' => array(
        'p',
        'h1',
        'h2',
        'h3',
        'h4',
        'h5',
        'h6',
      ),
      'style_list' => array(),
    ),
  );
}