We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f37e20f commit faeef5bCopy full SHA for faeef5b
README.md
@@ -69,6 +69,7 @@ You can interact with the CodeMirror instance using a `ref` and the `getCodeMirr
69
70
* `autoSave` `Boolean` automatically persist changes to underlying textarea (default false)
71
* `value` `String` the editor value
72
+* `preserveScrollPosition` `Boolean=false` Preserve previous scroll position after updating value
73
* `options` `Object (newValue)` options passed to the CodeMirror instance
74
* `onChange` `Function (newValue)` called when a change is made
75
* `onFocusChange` `Function (focused)` called when the editor is focused or loses focus
0 commit comments