Skip to content
Snippets Groups Projects
Commit c50ff11e authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 0b99fde9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment