From d97b3c2694cfd71cd67b1240fea55b6ca7869440 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 23 Apr 2020 23:52:41 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 +- ayanova/src/components/wiki-control.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index ac5f3c28..22db6a8f 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -69,7 +69,7 @@ CURRENT TODOs todo: drag and drop files on to attachments and have them stored and added automatically todo: drag and drop image file on to wiki and have it added as attachment then linked automatically todo: drag and drop image file from attachments and have it added to wiki automatically. - +todo: wiki emit input on change: currently it's manual but it should just either WATCH for changes or the replace text method should do the triggering since it's called for all ops todo: AFTER ATTACHMENTS WIKI IMAGES - Go back and finish off wiki image attachment UI and code diff --git a/ayanova/src/components/wiki-control.vue b/ayanova/src/components/wiki-control.vue index e8e66202..653ca607 100644 --- a/ayanova/src/components/wiki-control.vue +++ b/ayanova/src/components/wiki-control.vue @@ -850,6 +850,8 @@ export default { } else { this.replaceSelectedText("![](" + url + ")"); } + //trigger dirty change + this.handleInput(this.localVal); } console.log("processed url:", url); } else {