diff --git editors/ckeditor.inc editors/ckeditor.inc index 0a56fe0..a977eb3 100644 --- editors/ckeditor.inc +++ editors/ckeditor.inc @@ -294,6 +294,7 @@ function wysiwyg_ckeditor_plugins($editor) { 'Bold' => t('Bold'), 'Italic' => t('Italic'), 'Underline' => t('Underline'), 'Strike' => t('Strike-through'), 'JustifyLeft' => t('Align left'), 'JustifyCenter' => t('Align center'), 'JustifyRight' => t('Align right'), 'JustifyBlock' => t('Justify'), + 'BidiLtr' => t('Left-to-right'), 'BidiRtl' => t('Right-to-left'), 'BulletedList' => t('Bullet list'), 'NumberedList' => t('Numbered list'), 'Outdent' => t('Outdent'), 'Indent' => t('Indent'), 'Undo' => t('Undo'), 'Redo' => t('Redo'), @@ -325,6 +326,9 @@ function wysiwyg_ckeditor_plugins($editor) { if (version_compare($editor['installed version'], '3.1.0.4885', '<')) { unset($plugins['default']['buttons']['CreateDiv']); } + if (version_compare($editor['installed version'], '3.4.0.5808', '<')) { + unset($plugins['default']['buttons']['CreateDiv']); + } if (version_compare($editor['installed version'], '3.5.0.6260', '<')) { unset($plugins['default']['buttons']['Iframe']); }