Yoopta-Editor
Yoopta-Editor copied to clipboard
[BUG] When clicking on a link is not going to the link
Has this bug been raised before?
- [X] I have checked "open" AND "closed" issues and this is not a duplicate
Description
You can see that there are a lot of links in the preview but I'm not able to click to go to the link.
Steps to Reproduce
If you know the steps, follow the below format and provide steps to reproduce
For example:
- Go to the example page. 2 scroll down
- When you see "Do you like it? Please star our repo in Github.
- You should be able to click on "Our repo in Github". But I'm not able to.
Environment
- Windows 11:
- Browser: Chrome
Screenshots
No response
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response
Good example, I actually had the same question. So, the editor shows you a way to change the link with the Link menu, but the link element is rendered without the ability to click it and follow the link.
I would like to work on it
@Nitin6404 Here is the dev community, feel free to join and get in touch with us.
Thanks for reporting! This is good point. Links are working good when editor is read only, but it should work for edit mode also. This is how I see the solution to this problem with a good approach to UX:
-
When you hover over link in edit mode, something like a small button should be displayed over it
-
So, when you click on edit it should show Link editor from
@yoopta/link-toolpackage -
To access to Link editor from
@yoopta/link-toolpackage (if it passed to propstools) we can useuseToolshook
@Nitin6404 It would be great! Currently we are working on documentation for contribution. Join to our community - https://t.me/YooptaEditor
Done in @v4.6.4 https://github.com/user-attachments/assets/d6f21270-0ba6-4477-95fc-3099ca98deb7