feat: disable editor menu for ios

This commit is contained in:
Shivam Mishra
2025-06-04 16:34:26 +05:30
parent 394419ce95
commit d74798fcd5
@@ -170,10 +170,6 @@ const shouldShowCannedResponses = computed(() => {
});
const editorMenuOptions = computed(() => {
// eslint-disable-next-line no-underscore-dangle
if (window.__WOOT_ISOLATED_SHELL__) {
return [];
}
return props.enabledMenuOptions.length
? props.enabledMenuOptions
: MESSAGE_EDITOR_MENU_OPTIONS;
@@ -743,7 +739,9 @@ useEmitter(BUS_EVENTS.INSERT_INTO_RICH_EDITOR, insertContentIntoEditor);
@apply flex flex-col;
.ProseMirror-menubar:empty {
display: none;
@supports (-webkit-touch-callout: none) {
display: none;
}
}
.ProseMirror-menubar {