How to manually create a selection #5475
Unanswered
ceberterreche
asked this question in
Q&A
Replies: 1 comment
-
The
Note that this requires that you already have a valid instance of the Lexical editor. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning,
I would like to know if it is possible to create a selection like this: createRangeSelection(startIndex, endIndex).
My goal is to convert text format similar to markdown with tags like this: "this is my [BOLD]brilliant[/BOLD] text" to lexical format.
In this example, I would like to create a paragraph and apply bold to the part that has the [BOLD] tag.
Thx
Beta Was this translation helpful? Give feedback.
All reactions