a tool for shared writing and social publishing
0
fork

Configure Feed

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

fix bug where you can't deselect a text decoration

+6
+6
components/TextBlock/index.tsx
··· 442 442 .selection as TextSelection; 443 443 let mark = rangeHasMark(view.state, args.mark, from, to); 444 444 if ( 445 + to === from && 446 + args.mark?.isInSet(view.state.storedMarks || $cursor?.marks() || []) 447 + ) { 448 + return toggleMark(args.mark, args.attrs)(view.state, view.dispatch); 449 + } 450 + if ( 445 451 mark && 446 452 (!args.attrs || 447 453 JSON.stringify(args.attrs) === JSON.stringify(mark.attrs))