a tool for shared writing and social publishing
0
fork

Configure Feed

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

onMouseDown instead of onClick in highlightButton

+1 -1
+1 -1
components/Toolbar/HighlightButton.tsx
··· 58 58 } 59 59 return ( 60 60 <button 61 - onClick={(e) => { 61 + onMouseDown={(e) => { 62 62 e.preventDefault(); 63 63 toggleMarkInFocusedBlock(schema.marks.highlight, { 64 64 color: props.color,