Skip to content

Commit 03a40e9

Browse files
committed
feat: adjust onChange handling in CodeMirror for improved functionality
1 parent 98b5d42 commit 03a40e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/form/EditorInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export const EditorInput: React.FC<EditorInputProps> = (props) => {
6363
formValidation={formValidation}>
6464

6565
<CodeMirror extensions={internalExtensions} onChange={value => {
66-
onChange?.(value)
6766
formValidation?.setValue(value)
67+
onChange?.(value)
6868
}} theme={myTheme} {...mergeComponentProps("editor-input", rest)} basicSetup={{
6969
lineNumbers: false,
7070
foldGutter: false,

0 commit comments

Comments
 (0)