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 0f513ac
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/extensions/behavior/Selection/selection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ $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 0f513ac

Please sign in to comment.