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

[SuperEditor] - Allow spaces in stable tags #1986

Open
matthew-carroll opened this issue May 7, 2024 · 0 comments
Open

[SuperEditor] - Allow spaces in stable tags #1986

matthew-carroll opened this issue May 7, 2024 · 0 comments
Labels

Comments

@matthew-carroll
Copy link
Contributor

We'd like to support the ability to search for stable tag values across words. For example, we'd like to be able to type "@ma c" to search for "Matt Carroll". The first step to achieving this goal is to allow spaces in stable tags.

Currently stable tags have a concept of prohibited characters, which are used to short circuit the matching process. We should retain this ability for now, but we should also add a way to allow spaces.

The trick to achieve this behavior is to watch for inserted characters instead of re-calculating tag bounds on every reaction.

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

No branches or pull requests

1 participant