Skip to content

Commit 075531a

Browse files
committedFeb 4, 2023
chore: update example #449
1 parent 714942a commit 075531a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎www/src/pages/home/Example.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ export default function Example() {
9696
autoFocus={autofocus}
9797
basicSetup={basicSetup}
9898
placeholder={placeholder}
99-
onChange={(value) => setCode(value)}
99+
onChange={(val) => {
100+
// https://github.com/uiwjs/react-codemirror/issues/449
101+
// setCode(val)
102+
}}
100103
style={{
101104
maxWidth: '995px',
102105
margin: '-18px auto 0 auto',

0 commit comments

Comments
 (0)
Please sign in to comment.