From 7a61df8041c46d0dc7981cd97f5da896dcfb521b Mon Sep 17 00:00:00 2001 From: Katochimoto Date: Wed, 19 Aug 2015 13:27:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=BE=D1=81=D1=81=D1=82=D0=B0=D0=BD?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B8=D0=B2=D0=B0=D0=B5=D0=BC=20=D1=84=D0=BE?= =?UTF-8?q?=D0=BA=D1=83=D1=81=20=D0=BD=D0=B0=20=D0=B8=D0=B7=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE=D1=81?= =?UTF-8?q?=D0=BB=D0=B5=20=D0=BF=D0=BE=D1=82=D0=B5=D1=80=D0=B8=20=D1=84?= =?UTF-8?q?=D0=BE=D0=BA=D1=83=D1=81=D0=B0=20=D1=83=20=D0=B2=D1=80=D0=B0?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- plugin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69e003f..fcfeabb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ckeditor-imgresize", - "version": "1.0.10", + "version": "1.0.11", "description": "CKEditor dragable image resizing with support divarea", "keywords": [ "ckeditor", diff --git a/plugin.js b/plugin.js index 7bd9ea7..eceb0c8 100644 --- a/plugin.js +++ b/plugin.js @@ -166,7 +166,7 @@ this._wrapper.on('drag:drag', this._onDragDrag, this); this._wrapper.on('drag:stop', this._onDragStop, this); this._wrapper.on('mousedown', this._initDrag, this, null, 0); - this._wrapper.once('blur', this._hideWrapper, this, null, 0); + this._wrapper.once('blur', this._hideWrapper, this, { 'restoreFocus': true }, 0); this._wrapper.once('keydown', this._onKeydown, this, null, 0); for (var eventName in this._editorHideEvents) {