diff --git a/components/Blocks/CodeBlock.tsx b/components/Blocks/CodeBlock.tsx index bfadda5d..984f7e0c 100644 --- a/components/Blocks/CodeBlock.tsx +++ b/components/Blocks/CodeBlock.tsx @@ -125,7 +125,6 @@ export function CodeBlock(props: BlockProps) { block={props} spellCheck={false} autoCapitalize="none" - autoComplete="off" autoCorrect="off" className="codeBlockEditor whitespace-nowrap! overflow-auto! font-mono p-2" value={content?.data.value} diff --git a/components/Blocks/MathBlock.tsx b/components/Blocks/MathBlock.tsx index 4f8d1542..ecd60e6d 100644 --- a/components/Blocks/MathBlock.tsx +++ b/components/Blocks/MathBlock.tsx @@ -37,7 +37,6 @@ export function MathBlock(props: BlockProps) { block={props} spellCheck={false} autoCapitalize="none" - autoComplete="off" autoCorrect="off" className="bg-border-light rounded-md p-2 w-full min-h-[48px] whitespace-nowrap overflow-auto! border-border-light outline-border-light selected-outline" placeholder="write some Tex here..."