Skip to content

Commit

Permalink
chore: update example #449
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 4, 2023
1 parent 714942a commit 075531a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/src/pages/home/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ export default function Example() {
autoFocus={autofocus}
basicSetup={basicSetup}
placeholder={placeholder}
onChange={(value) => setCode(value)}
onChange={(val) => {
// https://github.com/uiwjs/react-codemirror/issues/449
// setCode(val)
}}
style={{
maxWidth: '995px',
margin: '-18px auto 0 auto',
Expand Down

0 comments on commit 075531a

Please sign in to comment.