From 14587ee65c4f86aba24468acfb9b4739fe76b3fa Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 30 Jan 2024 16:39:12 +0200 Subject: [PATCH] wysiwyg: hide attach button in inlide edit --- client/src/views/fields/wysiwyg.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/views/fields/wysiwyg.js b/client/src/views/fields/wysiwyg.js index 79861bbc57..814481271b 100644 --- a/client/src/views/fields/wysiwyg.js +++ b/client/src/views/fields/wysiwyg.js @@ -284,6 +284,10 @@ class WysiwygFieldView extends TextFieldView { else { this.$element.removeClass('hidden'); } + + if (this.params.attachmentField && this.isInlineEditMode()) { + this.$el.find('.note-attachment').addClass('hidden'); + } } if (this.isReadMode()) {