diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-caption-input.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-caption-input.js index 3d2cd0d228..b309edccfd 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-caption-input.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-caption-input.js @@ -122,6 +122,8 @@ export default Component.extend({ _escape(editor) { editor.element.blur(); + this.deselectCard(); + this.selectCard(); }, _upOrLeft(editor, key) { diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card.hbs b/ghost/admin/lib/koenig-editor/addon/components/koenig-card.hbs index f5b301442e..c3ea143698 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card.hbs +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card.hbs @@ -8,6 +8,8 @@ {{yield (hash CaptionInput=(component "koenig-caption-input" captureInput=this.isSelected + deselectCard=this.deselectCard + selectCard=this.selectCard addParagraphAfterCard=this.addParagraphAfterCard moveCursorToPrevSection=this.moveCursorToPrevSection moveCursorToNextSection=this.moveCursorToNextSection