Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Enable slash

Tomas Valenta6d65fd163495
diff --git a/hooks/useDocEditor.ts b/hooks/useDocEditor.ts
index d3380f8a8..4ed6796a6 100644
--- a/hooks/useDocEditor.ts
+++ b/hooks/useDocEditor.ts
@@ -8,7 +8,7 @@ import { StarterKit } from '@tiptap/starter-kit'
import Placeholder from '@tiptap/extension-placeholder'
import { keymap } from 'prosemirror-keymap'
-// import SlashCommand from 'src/editor/extensions/slashCommand'
+import SlashCommand from 'editor/extensions/slashCommand'
const extensions = [
StarterKit.configure({
@@ -29,7 +29,7 @@ const extensions = [
Placeholder.configure({
placeholder: "Type '/' for commands",
}),
- // SlashCommand,
+ SlashCommand,
]
const schema = getSchema(extensions)