How can I apply format/styles to nodes which are within the range of selection? #6485
aperezgarcia93
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I've been trying to read all the docs and search for resources but I wasn't able to find anything useful.
I'm trying to do something which I thought it would be easier, but I did not find any way to achieve it.
What I want is basically change the color of the selection, something like in this image:

In the image above, the first paragraph has been selected using the cursor, so when I click on another part, last selection gets another color, so basically, if I select a new line or whatever, I remove that color from the previous one and add the color to the new line, like this:
However, I wasn't able to find any way to achieve this, neither applying styles to the nodes, neither replacing them... I don't know how to perform this, anyone has any idea? Thanks a lot!!
Beta Was this translation helpful? Give feedback.
All reactions