1 ckeditor5.upgrade.inc ckeditor5_ckeditor5_upgrade_button_mapping()

Implements hook_ckeditor5_upgrade_button_mapping().

File

core/modules/ckeditor5/ckeditor5.upgrade.inc, line 257
CKEditor 4 to CKEditor 5 upgrade code.

Code

function ckeditor5_ckeditor5_upgrade_button_mapping() {
  return array(
    'Bold' => 'bold',
    'Italic' => 'italic',
    'Underline' => 'underline',
    'Strike' => 'strikethrough',
    'JustifyLeft' => 'alignment:left',
    'JustifyCenter' => 'alignment:center',
    'JustifyRight' => 'alignment:right',
    'JustifyBlock' => 'alignment:justify',
    'BulletedList' => 'bulletedList',
    'NumberedList' => 'numberedList',
    'Undo' => 'undo',
    'Redo' => 'redo',
    'Superscript' => 'superscript',
    'Subscript' => 'subscript',
    'Blockquote' => 'blockQuote',
    'Source' => 'sourceEditing',
    'HorizontalRule' => 'horizontalLine',
    'Cut' => NULL,
    'Copy' => NULL,
    'Paste' => NULL,
    'PasteText' => NULL,
    'PasteFromWord' => NULL,
    'ShowBlocks' => 'showBlocks',
    'RemoveFormat' => 'removeFormat',
    'SpecialChar' => 'specialCharacters',
    'Format' => 'heading',
    'Styles' => 'style',
    'Table' => 'insertTable',
    'Maximize' => 'maximize',
    'BackdropImage' => 'backdropImage',
    'BackdropLink' => 'backdropLink',
    'BackdropUnlink' => NULL,
    '-' => '|',
  );
}