Skip to content

Conversation

@ramiy
Copy link
Contributor

@ramiy ramiy commented Jun 30, 2022

Description

Currently, when users select the page content to copy & paste the text, it also selects the headings # anchors.

Steps to recreate

  • Select the page content with your mouse or using keyboard (CRTL + A)
  • Copy the text
  • Paste it to an external document

You will see that all content headings (H1-H6) has a # prefix.

Solution

This PR removes the headings anchor-selection by defining the anchors as not selectable (user-select: none;).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants