feat: Disable options from the message signature editor (#7777)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sivin Varghese
2023-08-26 08:51:39 +05:30
committed by GitHub
parent 6ab964b161
commit 04aa13e8aa
8 changed files with 84 additions and 14 deletions

View File

@@ -69,6 +69,7 @@
:min-height="4"
:enable-variables="true"
:variables="messageVariables"
:enabled-menu-options="customEditorMenuOptions"
@typing-off="onTypingOff"
@typing-on="onTypingOn"
@focus="onFocus"
@@ -184,6 +185,7 @@ import wootConstants from 'dashboard/constants/globals';
import { isEditorHotKeyEnabled } from 'dashboard/mixins/uiSettings';
import { CONVERSATION_EVENTS } from '../../../helper/AnalyticsHelper/events';
import rtlMixin from 'shared/mixins/rtlMixin';
import { MESSAGE_EDITOR_MENU_OPTIONS } from 'dashboard/constants/editor';
const EmojiInput = () => import('shared/components/emoji/EmojiInput');
@@ -226,6 +228,7 @@ export default {
data() {
return {
message: '',
customEditorMenuOptions: MESSAGE_EDITOR_MENU_OPTIONS,
isFocused: false,
showEmojiPicker: false,
attachedFiles: [],