a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

make todo item shortcut work outside of lists

+5 -1
+5 -1
components/Blocks/TextBlock/inputRules.ts
··· 88 88 89 89 //Checklist 90 90 new InputRule(/^\[(\ |x)?\]\s$/, (state, match) => { 91 - if (!propsRef.current.listData) return null; 91 + if (!propsRef.current.listData) repRef.current?.mutate.assertFact({ 92 + entity: propsRef.current.entityID, 93 + attribute: "block/is-list", 94 + data: { type: "boolean", value: true }, 95 + }); 92 96 let tr = state.tr; 93 97 tr.delete(0, match[0].length); 94 98 repRef.current?.mutate.assertFact({