From 0a4df57c4b9d065f30a3f31d50a2f3e684618ee4 Mon Sep 17 00:00:00 2001 From: fredck Date: Fri, 7 Dec 2012 11:23:30 +0100 Subject: [PATCH] Avoid blocking keystrokes when in readonly mode. --- core/editable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/editable.js b/core/editable.js index d1d212c6d0a..4b5ffa545a0 100644 --- a/core/editable.js +++ b/core/editable.js @@ -522,7 +522,7 @@ // on fully selected element . (#4047) (#7645) this.attachListener( editor, 'key', function( evt ) { if ( editor.readOnly ) - return false; + return true; var keyCode = evt.data.keyCode, isHandled;