Skip to content

Commit

Permalink
fix(sandpack-react): disable LanguageTool extention for code editor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amir2mi committed Apr 11, 2023
1 parent a1000f6 commit 6b92b32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sandpack-react/src/components/CodeEditor/CodeMirror.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ export const CodeMirror = React.forwardRef<CodeMirrorRef, CodeMirrorProps>(
});

view.contentDOM.setAttribute("data-gramm", "false");
view.contentDOM.setAttribute("data-lt-active", "false");
view.contentDOM.setAttribute(
"aria-label",
filePath ? `Code Editor for ${getFileName(filePath)}` : `Code Editor`
Expand Down

1 comment on commit 6b92b32

@vercel
Copy link

@vercel vercel bot commented on 6b92b32 Apr 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.