Skip to content

Commit

Permalink
feat(EditorView): remove text highlight from selected nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteformed committed Dec 18, 2024
1 parent 90f400f commit c2106f2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/extensions/behavior/Selection/selection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@ $offset-elements: h1, h2, h3, h4, h5, h6, 'p:not(:has(img))', 'span:not(+ img)',
);
}

// &::selection {
// color: var(--g-color-text-primary);
// }
&#{$active-node-selector} {
&, * {
&::selection {
color: inherit;
}
}
}
}

/* default selection properties */
Expand Down

0 comments on commit c2106f2

Please sign in to comment.