Skip to content
Snippets Groups Projects
Commit c6a1a9f9 authored by dczepierga's avatar dczepierga
Browse files

1851606] by dczepierga: Add support for CKEditor v4 - check if divarea plugin exists

parent 50df44e7
No related branches found
No related tags found
No related merge requests found
......@@ -701,7 +701,7 @@ function ckeditor_admin_profile_form($form_state, $profile = NULL) {
'#description' => t('The toolbar will start in an expanded or collapsed state.'),
);
if (ckeditor_get_version(TRUE) == 4 && file_exists(ckeditor_path(TRUE) . '/plugins/divarea/plugin.js')) {
if (file_exists(ckeditor_path(TRUE) . '/plugins/divarea/plugin.js')) {
$form['appearance']['use_divarea'] = array(
'#type' => 'radios',
'#title' => t('"Div-based" editor'),
......
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