Closed garygrossgarten closed 4 years ago
yes
Strange behavior, might come from prismjs highlighting.
I tested it on prismjs docs and it is not happening there.
ngAfterViewChecked
is triggered on text selection and highlight is always triggered again, thus removing the text selection
ngAfterViewChecked() {
this.highlightService.highlightAll();
}
@garygrossgarten alternative could be scully-plugin-prism-highlight
@garygrossgarten is this what you mean? My selection is always removed automatically![Screen Recording 2020-07-20 at 15 59 26](https://user-images.githubusercontent.com/8985933/87947157-37a10180-caa3-11ea-861c-dfc5be87a12c.gif)