Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(theme-default): headings anchor should not be selectable #1701

Merged
merged 1 commit into from Dec 16, 2022

Conversation

ramiy
Copy link
Contributor

@ramiy ramiy commented Dec 16, 2022

Currently, when users select the page content to copy & paste the text, it also selects the headings # anchors. This PR removes the headings anchor-selection by defining the anchors as not selectable (user-select: none;).

I created similar PRs in:

@brc-dd brc-dd merged commit 505a4f8 into vuejs:main Dec 16, 2022
@ramiy ramiy deleted the patch-1 branch December 16, 2022 20:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants