a tool for shared writing and social publishing

clicking anywhere on the bottom of the card focuses the last block

+6 -1
+6 -1
components/Blocks.tsx
··· 68 68 ); 69 69 })} 70 70 <NewBlockButton lastBlock={lastBlock || null} entityID={props.entityID} /> 71 - <div className="shrink-0 h-[50vh]" /> 71 + <div 72 + className="shrink-0 h-[50vh]" 73 + onClick={() => { 74 + focusBlock({ ...lastBlock, type: "text" }, { type: "end" }); 75 + }} 76 + /> 72 77 </div> 73 78 ); 74 79 }