From 0d47bcdf2caea778dbb6be004ee7941f2e1b307a Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 24 Apr 2017 10:20:15 +0100 Subject: [PATCH] Image Block: Fix adding an image citation to the image block --- blocks/components/editable/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/blocks/components/editable/index.js b/blocks/components/editable/index.js index 97043a30bf6da7..ee315966e6e301 100644 --- a/blocks/components/editable/index.js +++ b/blocks/components/editable/index.js @@ -138,6 +138,7 @@ export default class Editable extends wp.element.Component { componentWillUnmount() { if ( this.editor ) { + this.onChange(); this.editor.destroy(); } }