diff --git a/components/Blocks/CodeBlock.tsx b/components/Blocks/CodeBlock.tsx index 0488d4f3..bfadda5d 100644 --- a/components/Blocks/CodeBlock.tsx +++ b/components/Blocks/CodeBlock.tsx @@ -123,6 +123,10 @@ export function CodeBlock(props: BlockProps) { data-entityid={props.entityID} id={elementId.block(props.entityID).input} block={props} + spellCheck={false} + autoCapitalize="none" + autoComplete="off" + autoCorrect="off" className="codeBlockEditor whitespace-nowrap! overflow-auto! font-mono p-2" value={content?.data.value} onChange={async (e) => { diff --git a/components/Blocks/MathBlock.tsx b/components/Blocks/MathBlock.tsx index fbe58de8..4f8d1542 100644 --- a/components/Blocks/MathBlock.tsx +++ b/components/Blocks/MathBlock.tsx @@ -35,6 +35,10 @@ export function MathBlock(props: BlockProps) {