fix: codeblock

This commit is contained in:
Timothy Jaeryang Baek
2025-02-23 21:39:34 -08:00
parent 7a63947b94
commit 802f8809dd
3 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@
});
_value = formattedCode;
onChange({ value: _value });
onChange(_value);
await tick();
toast.success($i18n.t('Code formatted successfully'));
@@ -98,7 +98,7 @@
EditorView.updateListener.of((e) => {
if (e.docChanged) {
_value = e.state.doc.toString();
onChange({ value: _value });
onChange(_value);
}
}),
editorTheme.of([]),