From 957ff4a5d9b2eb5bc8b1a6210e192ebfe692eb6d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 24 Apr 2020 19:39:05 +0000 Subject: [PATCH] --- ayanova/src/components/wiki-control.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ayanova/src/components/wiki-control.vue b/ayanova/src/components/wiki-control.vue index 95457e96..7dbea616 100644 --- a/ayanova/src/components/wiki-control.vue +++ b/ayanova/src/components/wiki-control.vue @@ -753,7 +753,7 @@ export default { //![alttexthere](https://www.ayanova.com/images/AyaNovaIcon256.png "title text here (tooltip)") { this.imageMenu = false; - this.selectedImageAttachment = null; + let url = null; if (ex == 1) { //it's an attachment @@ -783,6 +783,7 @@ export default { } else { this.replaceSelectedText("![](" + url + ")"); } + this.selectedImageAttachment = null; } break; default: