From 2f90a45da7200ebda95dbe2825bf7b46a6c24b72 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Tue, 17 Sep 2019 11:05:45 +0200 Subject: [PATCH] Follow @Tirokk's review and fix a bug The bug happened because the hashtag link won't get parsed by the extension. This is desired for mentions because you don't want to re-notify a user if you haven't updated the text in which you notify somebody. For hashtags this is undesired and would lead to transforming the hashtag link into a normal link on the next edit of a post. --- webapp/components/Editor/ContentViewer.vue | 8 +++++++- webapp/components/Editor/Editor.vue | 4 +++- webapp/components/Editor/nodes/Hashtag.js | 10 ++++++++-- webapp/components/Editor/nodes/Link.js | 3 ++- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/webapp/components/Editor/ContentViewer.vue b/webapp/components/Editor/ContentViewer.vue index 993cf32b9..ab07d11d6 100644 --- a/webapp/components/Editor/ContentViewer.vue +++ b/webapp/components/Editor/ContentViewer.vue @@ -4,6 +4,7 @@