diff --git a/src/client/app/common/scripts/post-form.ts b/src/client/app/common/scripts/post-form.ts index 7cf26f65b..ff3fd0792 100644 --- a/src/client/app/common/scripts/post-form.ts +++ b/src/client/app/common/scripts/post-form.ts @@ -328,6 +328,7 @@ export default (opts) => ({ this.text = ''; this.files = []; this.poll = false; + this.quoteId = null; this.$emit('change-attached-files', this.files); }, @@ -357,7 +358,7 @@ export default (opts) => ({ const paste = e.clipboardData.getData('text'); - if (paste.startsWith(url + '/notes/')) { + if (!this.renote && !this.quoteId && paste.startsWith(url + '/notes/')) { e.preventDefault(); this.$root.dialog({ diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index 39b7781a1..5ce5eba73 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -6,18 +6,18 @@ @drop.stop="onDrop" >