Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Merge branch 'master' into edit
Tomas Valenta0083cab20cfb
diff --cc hooks/useDocEditor.tsindex ccd92515f,d16e95f75..f8ffce0b1--- a/hooks/useDocEditor.ts+++ b/hooks/useDocEditor.ts@@@ -15,21 -15,18 +15,18 @@@ const extensions =blockquote: false,bold: false,bulletList: false,- code: false,- codeBlock: false,+ // code: false,+ // codeBlock: false,dropcursor: false,hardBreak: false,- heading: false,+ // heading: false,horizontalRule: false,italic: false,- listItem: false,+ // listItem: false,strike: false,- orderedList: false,- }),- Placeholder.configure({- placeholder: 'All You Need Is English',+ // orderedList: false,}),- SlashCommand,+ ContextAutocomplete,]const schema = getSchema(extensions)@@@ -75,8 -91,15 +84,9 @@@ function useDocEditor(instance.on('transaction', t => {if (t.transaction.docChanged) {- onContentChange(t.transaction.doc.toJSON())+ // onContentChange(t.transaction.doc.toJSON())+ onContentChange(t.editor.getHTML())}-- // requestAnimationFrame(() => {- // requestAnimationFrame(() => {- // forceUpdate()- // })- // })})setEditor(instance)