Yoopta-Editor
Yoopta-Editor copied to clipboard
[Example Request]: Insert link in the middle of text
What's the example?
Hi, I have a request where I need to include a link in the middle of the text to make a reference to an external page, but I need to fill this in with code, I tried in several ways but I didn't get the result I need.
I tried using LinkCommand, but it changes the entire line as a link and not just a portion of that text.
I also tried using Elements.createElement trying to create a link using LinkCommands.buildLinkElements but I didn't get the result either.
I need something this
the link will be included when I select a menu item
the only thing I could do was include the text at the end of the block
Another problem I'm having is making the element focus at the end of the line and not at the beginning.
Is it possible to solve this today?
Code of Conduct
- [X] I agree to follow this project's Code of Conduct