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

Copy for selected block and inline leaf nodes #5

Open
mweiss opened this issue Apr 7, 2020 · 0 comments
Open

Copy for selected block and inline leaf nodes #5

mweiss opened this issue Apr 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mweiss
Copy link
Owner

mweiss commented Apr 7, 2020

Currently, if you try to copy an inline of block leaf without selecting it as part of a range selection, it will not update the text/html clipboard data. This is because native browser copy-paste behavior will not copy anything for a caret selection. Perhaps can be fixed several ways: by making a selected block leaf or inline leaf a range selection via focus and anchor offsets as boundary points, having a custom clipboard for selected leaf nodes, or by setting the clipboard data on copy events. However I haven't tried any of these methods out to see if they're viable.

@mweiss mweiss added the enhancement New feature or request label Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant