From d19fd8c072a0f21d5126272c88b6dbe7358b24e2 Mon Sep 17 00:00:00 2001 From: trendschau Date: Mon, 26 Feb 2024 19:55:57 +0100 Subject: [PATCH] v2.2.2 fix resize textarea after adding link --- system/typemill/author/js/vue-blox-components.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/typemill/author/js/vue-blox-components.js b/system/typemill/author/js/vue-blox-components.js index f601f83..ed93213 100644 --- a/system/typemill/author/js/vue-blox-components.js +++ b/system/typemill/author/js/vue-blox-components.js @@ -1380,7 +1380,7 @@ bloxeditor.component('inline-formats', { eventBus.$emit('inlineFormat', content); this.showInlineFormat = false; this.$nextTick(function () { - autosize(document.querySelectorAll('textarea')); + autosize.update(document.querySelectorAll('textarea')); }); }, formatItalic() @@ -1390,7 +1390,7 @@ bloxeditor.component('inline-formats', { eventBus.$emit('inlineFormat', content); this.showInlineFormat = false; this.$nextTick(function () { - autosize(document.querySelectorAll('textarea')); + autosize.update(document.querySelectorAll('textarea')); }); }, formatCode() @@ -1400,7 +1400,7 @@ bloxeditor.component('inline-formats', { eventBus.$emit('inlineFormat', content); this.showInlineFormat = false; this.$nextTick(function () { - autosize(document.querySelectorAll('textarea')); + autosize.update(document.querySelectorAll('textarea')); }); }, formatMath() @@ -1410,7 +1410,7 @@ bloxeditor.component('inline-formats', { eventBus.$emit('inlineFormat', content); this.showInlineFormat = false; this.$nextTick(function () { - autosize(document.querySelectorAll('textarea')); + autosize.update(document.querySelectorAll('textarea')); }); }, formatLink()