Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Cleanup

Tomas Valenta377f0765ba1b
diff --git a/hooks/useDocEditor.ts b/hooks/useDocEditor.ts
index 7287135e8..bc9c1d687 100644
--- a/hooks/useDocEditor.ts
+++ b/hooks/useDocEditor.ts
@@ -19,7 +19,6 @@ const extensions = [
blockquote: false,
bold: false,
// code: false,
- // codeBlock: false,
dropcursor: false,
hardBreak: false,
// heading: false,
@@ -29,10 +28,12 @@ const extensions = [
// We use the Ordered List, Bullet List and List item from explicit packages
// so we can use their names in the markdown serializer.
+ codeBlock: false,
bulletList: false,
listItem: false,
orderedList: false,
}),
+ CodeBlock,
OrderedList,
ListItem,
BulletList,