JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6
[ckeditor.git] / _source / plugins / bidi / plugin.js
index a1ae6c8..44ece03 100644 (file)
@@ -22,6 +22,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
        {\r
                var editor = evt.editor,\r
                        path = evt.data.path;\r
+\r
+               if ( editor.readOnly )\r
+                       return;\r
+\r
                var useComputedState = editor.config.useComputedState,\r
                        selectedElement;\r
 \r