|
@@ -11,11 +11,11 @@ |
|
|
block discarded – undo |
|
11
|
11
|
function df_tools_editor_editor_js_settings_alter(array &$settings) { |
|
12
|
12
|
foreach ($settings['editor']['formats'] as &$format) { |
|
13
|
13
|
// Set the editor skin to Moono-Lisa. |
|
14
|
|
- $format['editorSettings']['skin'] = 'moono-lisa,' . base_path() . drupal_get_path('module', 'df_tools_editor') . '/skins/moono-lisa/'; |
|
|
14
|
+ $format['editorSettings']['skin'] = 'moono-lisa,'.base_path().drupal_get_path('module', 'df_tools_editor').'/skins/moono-lisa/'; |
|
15
|
15
|
|
|
16
|
16
|
// Swap in our custom JS by adding a pseudo plugin. We do this as we do not |
|
17
|
17
|
// provide a button, which is what traditional CKEditor plugins would do. |
|
18
|
|
- $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path() . drupal_get_path('module', 'df_tools_editor') . '/js/df_tools_editor.js'; |
|
|
18
|
+ $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path().drupal_get_path('module', 'df_tools_editor').'/js/df_tools_editor.js'; |
|
19
|
19
|
$format['editorSettings']['extraPlugins'] .= ',df_tools_editor'; |
|
20
|
20
|
} |
|
21
|
21
|
} |
Please login to merge, or discard this patch.