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

click to select #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

click to select #48

wants to merge 1 commit into from

Conversation

pravdomil
Copy link

Config.Decorations.selectableDecoration should select element using DOM's setBaseAndExtent.

That ensures that browser selection is the same as editor selection.

That removes needs for .rte-hide-caret { caret-color: transparent; }.

Also also solves #16.

And also allows use "click and copy and paste".

wolfadex added a commit to wolfadex/elm-rte-toolkit that referenced this pull request Sep 21, 2024
wolfadex added a commit to wolfadex/elm-rte-toolkit that referenced this pull request Sep 24, 2024
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.

1 participant