Advertisement
Guest User

$expected_config

a guest
Nov 6th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.73 KB | None | 0 0
  1. array (
  2.   'allowedContent' =>
  3.   array (
  4.     'h4' =>
  5.     array (
  6.       'attributes' => true,
  7.       'styles' => false,
  8.       'classes' => true,
  9.     ),
  10.     'h5' =>
  11.     array (
  12.       'attributes' => true,
  13.       'styles' => false,
  14.       'classes' => true,
  15.     ),
  16.     'h6' =>
  17.     array (
  18.       'attributes' => true,
  19.       'styles' => false,
  20.       'classes' => true,
  21.     ),
  22.     'p' =>
  23.     array (
  24.       'attributes' => true,
  25.       'styles' => false,
  26.       'classes' => true,
  27.     ),
  28.     'br' =>
  29.     array (
  30.       'attributes' => true,
  31.       'styles' => false,
  32.       'classes' => true,
  33.     ),
  34.     'strong' =>
  35.     array (
  36.       'attributes' => true,
  37.       'styles' => false,
  38.       'classes' => true,
  39.     ),
  40.     'a' =>
  41.     array (
  42.       'attributes' => true,
  43.       'styles' => false,
  44.       'classes' => true,
  45.     ),
  46.   ),
  47.   'contentsCss' =>
  48.   array (
  49.     0 => 'http://drupal8.local/core/modules/ckeditor/css/ckeditor-iframe.css',
  50.     1 => 'http://drupal8.local/core/modules/system/css/system.module.css',
  51.   ),
  52.   'customConfig' => '',
  53.   'disallowedContent' =>
  54.   array (
  55.     '*' =>
  56.     array (
  57.       'attributes' => 'on*',
  58.     ),
  59.   ),
  60.   'drupalExternalPlugins' =>
  61.   array (
  62.     'drupalimage' => 'http://drupal8.local/core/modules/ckeditor/js/plugins/drupalimage/plugin.js',
  63.     'drupallink' => 'http://drupal8.local/core/modules/ckeditor/js/plugins/drupallink/plugin.js',
  64.   ),
  65.   'drupalImage_dialogTitleAdd' => 'Insert Image',
  66.   'drupalImage_dialogTitleEdit' => 'Edit Image',
  67.   'drupalLink_dialogTitleAdd' => 'Add Link',
  68.   'drupalLink_dialogTitleEdit' => 'Edit Link',
  69.   'entities' => false,
  70.   'extraPlugins' => 'drupalimage,drupallink',
  71.   'justifyClasses' =>
  72.   array (
  73.     0 => 'text-align-left',
  74.     1 => 'text-align-center',
  75.     2 => 'text-align-right',
  76.     3 => 'text-align-justify',
  77.   ),
  78.   'language' => 'en',
  79.   'pasteFromWordPromptCleanup' => true,
  80.   'resize_dir' => 'vertical',
  81.   'stylesSet' => false,
  82.   'toolbar' =>
  83.   array (
  84.     0 =>
  85.     array (
  86.       'name' => 'Formatting',
  87.       'items' =>
  88.       array (
  89.         0 => 'Bold',
  90.         1 => 'Italic',
  91.       ),
  92.     ),
  93.     1 =>
  94.     array (
  95.       'name' => 'Links',
  96.       'items' =>
  97.       array (
  98.         0 => 'DrupalLink',
  99.         1 => 'DrupalUnlink',
  100.       ),
  101.     ),
  102.     2 =>
  103.     array (
  104.       'name' => 'Lists',
  105.       'items' =>
  106.       array (
  107.         0 => 'BulletedList',
  108.         1 => 'NumberedList',
  109.       ),
  110.     ),
  111.     3 =>
  112.     array (
  113.       'name' => 'Media',
  114.       'items' =>
  115.       array (
  116.         0 => 'Blockquote',
  117.         1 => 'DrupalImage',
  118.       ),
  119.     ),
  120.     4 =>
  121.     array (
  122.       'name' => 'Tools',
  123.       'items' =>
  124.       array (
  125.         0 => 'Source',
  126.       ),
  127.     ),
  128.     5 => '/',
  129.   ),
  130. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement