Skip to content

Commit 4a411b2

Browse files
committed
Unrelated code slipped in
1 parent fc2228b commit 4a411b2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

client/codemirror/clean.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ export function cleanModePlugins(client: Client) {
5555
// Propagate click event from checkbox
5656
void client.dispatchClickEvent(clickEvent);
5757
},
58-
onStateChange: (pos, endPos, _oldState, newState) => {
59-
client.editorView.dispatch({
60-
changes: { from: pos, to: endPos, insert: newState },
61-
});
62-
},
63-
client,
6458
}),
6559
listBulletPlugin(),
6660
tablePlugin(client),

0 commit comments

Comments
 (0)