a tool for shared writing and social publishing
0
fork

Configure Feed

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

add toggle todo shortcut to non text blocks

+9
+9
components/Blocks/useBlockKeyboardHandlers.ts
··· 140 140 el.contentEditable === "true" 141 141 ) 142 142 return; 143 + 144 + if (e.ctrlKey || e.metaKey) { 145 + if (props.listData) { 146 + rep?.mutate.toggleTodoState({ 147 + entityID: props.entityID, 148 + }); 149 + } 150 + return; 151 + } 143 152 if (props.pageType === "canvas") { 144 153 let el = document.getElementById(elementId.block(props.entityID).container); 145 154 let [position] =