Skip to content

Commit

Permalink
Remove keyboard trap (WCAG Success Criterion 2.1.2: No Keyboard Trap)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebfoss committed Dec 21, 2024
1 parent 290f709 commit d8a1ab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CodeEmbed/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const CodeEmbed = (props) => {
foldGutter: false,
autocompletion: false,
}}
indentWithTab={false}
extensions={[javascript(), EditorView.lineWrapping]}
onChange={(val) => setCodeString(val)}
editable={props.editable}
Expand Down

0 comments on commit d8a1ab5

Please sign in to comment.