Commit c50ff11e authored by webchick's avatar webchick

Issue #2161759 by Wim Leers, sun: Remove unused drupalSettings.ckeditor.modulePath setting.

parent 0b99fde9
......@@ -37,17 +37,11 @@ function ckeditor_help($path, $arg) {
function ckeditor_library_info() {
$module_path = drupal_get_path('module', 'ckeditor');
$settings = array(
'ckeditor' => array(
'modulePath' => drupal_get_path('module', 'ckeditor'),
),
);
$libraries['drupal.ckeditor'] = array(
'title' => 'Drupal behavior to enable CKEditor on textareas.',
'version' => \Drupal::VERSION,
'js' => array(
$module_path . '/js/ckeditor.js' => array(),
array('data' => $settings, 'type' => 'setting'),
),
'css' => array(
$module_path . '/css/ckeditor.css' => array(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment