mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #30596 from overleaf/mg-context-menu-hide-others
Hide other menus when right-click context menu opens GitOrigin-RevId: c7a2126ec58ed69520f31ba20fa450a6f1524a3f
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
import { StateEffect } from '@codemirror/state'
|
||||
|
||||
// Effect used to ask any loaded menu/tooltip extension to close itself.
|
||||
// Used to ensure only one context menu is open at a time.
|
||||
export const closeAllContextMenusEffect = StateEffect.define<null>()
|
||||
Reference in New Issue
Block a user