a tool for shared writing and social publishing
0
fork

Configure Feed

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

check to see if anchor is undefined not falsy

+1 -1
+1 -1
components/Blocks/TextBlock/index.tsx
··· 523 523 if (previousFocused === props.entityID) return; 524 524 previousFocused = props.entityID; 525 525 if ( 526 - !view.state.selection.anchor || 526 + view.state.selection.anchor === undefined || 527 527 //@ts-ignore I'm not sure why this type isn't here because it's used in the function underneath 528 528 !view.docView 529 529 )