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

Retrieve/react to selection range #24

Open
souporserious opened this issue Jul 17, 2017 · 2 comments
Open

Retrieve/react to selection range #24

souporserious opened this issue Jul 17, 2017 · 2 comments

Comments

@souporserious
Copy link

First, thank you so much for this plugin 🙏 the flexibility and power is so nice.

I was wondering it there is any way to get the current selection range or the current position of the caret? Thinking it would really cool if there was some way to achieve functionality like https://snack.expo.io/ with the drag and drop components or even the ability to pop a menu of components and insert them inline.

@kitten
Copy link
Contributor

kitten commented Jul 17, 2017

Sounds interesting for sure!

I'm a bit too busy to investigate this right now, but maybe something with onSelect and the vendored selection-range would work?

@souporserious
Copy link
Author

I like that idea! :) I'll try and play around with this when I get a chance.

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

No branches or pull requests

2 participants