X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fbidi%2Fplugin.js;fp=_source%2Fplugins%2Fbidi%2Fplugin.js;h=44ece03b514b1174f4a38a26356cfc6ad75c65cf;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=a1ae6c8179109ca5bf929d86103b5169662cb936;hpb=1056598c95187351dc58f4991d331e2258d038b5;p=ckeditor.git diff --git a/_source/plugins/bidi/plugin.js b/_source/plugins/bidi/plugin.js index a1ae6c8..44ece03 100644 --- a/_source/plugins/bidi/plugin.js +++ b/_source/plugins/bidi/plugin.js @@ -22,6 +22,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { var editor = evt.editor, path = evt.data.path; + + if ( editor.readOnly ) + return; + var useComputedState = editor.config.useComputedState, selectedElement;