Skip to content

Commit f2f43e1

Browse files
committed
Fixed autosave not triggered
1 parent 2007f86 commit f2f43e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/util/custom_code_box.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ class InnerField extends StatelessWidget {
156156
onUnAutoComplete!.call();
157157
}
158158
},
159+
onChange: (String lastToken) { if(onChange!=null) onChange!(language, lastToken); }
159160
);
160161
codeField = CodeField(
161162
onCursorPosChanged: setCursorOffset,

0 commit comments

Comments
 (0)