facebook / facebook/lexical

How to select all sentences of that word clicked?

Open
#4,765 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
55

Description

### Discussed in https://github.com/facebook/lexical/discussions/4764

Originally posted by **sophia9211** July 11, 2023
I'm having trouble figuring out how to implement a feature that highlights an entire sentence based on a certain condition when a specific word is already highlighted. Could someone explain a possible approach to implementing this feature?
And also is there a way to replace the text of a specific node?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.