We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c1958 commit 7ef8c6fCopy full SHA for 7ef8c6f
1 file changed
packages/core/src/blocks/ListItem/CheckListItem/block.ts
@@ -148,7 +148,7 @@ export const createCheckListItemBlockSpec = createBlockSpec(
148
},
149
inputRules: [
150
{
151
- find: new RegExp(`\\[\\s*\\]\\s$`),
+ find: new RegExp(`^\\[\\s*\\]\\s$`),
152
replace() {
153
return {
154
type: "checkListItem",
@@ -160,7 +160,7 @@ export const createCheckListItemBlockSpec = createBlockSpec(
160
161
162
163
- find: new RegExp(`\\[[Xx]\\]\\s$`),
+ find: new RegExp(`^\\[[Xx]\\]\\s$`),
164
165
166
0 commit comments