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

Dynamically add styles to text #1379

Open
vijayk1989 opened this issue Jan 18, 2025 · 0 comments
Open

Dynamically add styles to text #1379

vijayk1989 opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@vijayk1989
Copy link

Is your feature request related to a problem? Please describe.
I want to auto underline text after typing based on a criteria. For example. I have an array with the names: [Jane, John]. Now when I type the word Jane or John I want that text to be underlined after I finish typing them.
I know its possible to add styles to selected text so I tried something similar with a debounced function to add an underline to a word dyanmically but I have been unable to make it work.

Describe the solution you'd like
I want to be able to add styles to text (not selected text) any text in the document.

Describe alternatives you've considered
I have tried scanning the full document and applying styles but I am not able to make it work.

@vijayk1989 vijayk1989 added the enhancement New feature or request label Jan 18, 2025
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