diff --git a/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue b/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue index 628c88ad3..c8b49f612 100644 --- a/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue +++ b/app/javascript/dashboard/components/widgets/WootWriter/Editor.vue @@ -422,10 +422,14 @@ function updateImgToolbarOnDelete() { } function isEnterToSendEnabled() { + // eslint-disable-next-line no-underscore-dangle + if (window.__WOOT_ISOLATED_SHELL__) return false; return isEditorHotKeyEnabled('enter'); } function isCmdPlusEnterToSendEnabled() { + // eslint-disable-next-line no-underscore-dangle + if (window.__WOOT_ISOLATED_SHELL__) return true; return isEditorHotKeyEnabled('cmd_enter'); }