Replies: 1 comment 1 reply
-
You need to create a custom However, this will not work when using a physical keyboard as the user can do Ctrl-C directly. I didn't look further into addressing this issue, and maybe other edge cases. If you have some ideas feel free to share. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Currently, I am using the following code to enable the text select/highlight(annotations, highlighting) feature for LCP protected publication. But this code allows copying the publication.
Is there any way that, we can enable the text select/highlight(annotations, highlighting) feature without the text copying feature? Please suggest.
server.loadCustomResource("""
* {
user-select: auto !important;
-webkit-user-select: auto !important;
}
""".byteInputStream(), "fix-select.css", Injectable.Style) //#414
Thanks,
Naresh
Beta Was this translation helpful? Give feedback.
All reactions