Skip to content

Commit b6c0327

Browse files
committed
type: fix olist type issue.
1 parent dc597f0 commit b6c0327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/commands/olist.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const olist: ICommand = {
1616
if (!state || !view) return;
1717
const lineInfo = view.state.doc.lineAt(view.state.selection.main.from);
1818
let mark = '1. ';
19-
const matchMark = lineInfo.text.match(/^\1\./);
19+
const matchMark = lineInfo.text.match(/^1\./);
2020
if (matchMark && matchMark[0]) {
2121
mark = '';
2222
}

0 commit comments

Comments
 (0)