Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Enable slash
Tomas Valenta6d65fd163495
diff --git a/hooks/useDocEditor.ts b/hooks/useDocEditor.tsindex 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)