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

Provide a fallback to PickerPlugin to use a last known range if focus can't be restored. #195

Closed
wants to merge 0 commits into from

Conversation

Lego6245
Copy link
Member

Safari had a problem where the editor would blur and because of it, we couldn't reliably insert the node that the DataProvider wanted us to insert. This change will cache a "last known range" value whenever we're suggesting, and clear it when we're not. Then, if someone blurs the editor, we'll know where they last were so if the normal focus operation doesn't help us, we can fall back to using that piece of info.

@Lego6245
Copy link
Member Author

Nuked this by accident to fix my local fork.

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.

None yet

1 participant