@@ -5,7 +5,7 @@ import { ref, onMounted, onBeforeUnmount, shallowRef, reactive, markRaw, compute
55import { Editor } from ' @superdoc/super-editor' ;
66import { PresentationEditor } from ' @core/presentation-editor/index.js' ;
77import { getStarterExtensions } from ' @extensions/index.js' ;
8- import SlashMenu from ' ./slash -menu/SlashMenu .vue' ;
8+ import ContextMenu from ' ./context -menu/ContextMenu .vue' ;
99import { onMarginClickCursorChange } from ' ./cursor-helpers.js' ;
1010import Ruler from ' ./rulers/Ruler.vue' ;
1111import GenericPopover from ' ./popovers/GenericPopover.vue' ;
@@ -987,7 +987,7 @@ const handleMarginClick = (event) => {
987987 if (target ?.classList ?.contains (' ProseMirror' )) return ;
988988
989989 // Causes issues with node selection.
990- if (target ?.closest ?.(' .presentation-editor, .superdoc-layout, .slash -menu' )) {
990+ if (target ?.closest ?.(' .presentation-editor, .superdoc-layout, .context -menu' )) {
991991 return ;
992992 }
993993
@@ -1075,8 +1075,8 @@ onBeforeUnmount(() => {
10751075 @mouseleave =" handleOverlayHide"
10761076 >
10771077 <div ref =" editorElem" class =" editor-element super-editor__element" role =" presentation" ></div >
1078- <!-- Single SlashMenu component, no Teleport needed -->
1079- <SlashMenu
1078+ <!-- Single ContextMenu component, no Teleport needed -->
1079+ <ContextMenu
10801080 v-if =" !contextMenuDisabled && editorReady && activeEditor"
10811081 :editor =" activeEditor"
10821082 :popoverControls =" popoverControls"
0 commit comments