-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement unlink UX #4716
Comments
I think that unlink feature is rarely used, I guess mostly after someone pasted some contents and then want to remove links. I think that if someone wants to remove a link they want to remove also the text of the link. Since this is very simple UX/UI we can't really go wrong in any case. I'd go with two toolbar buttons AND unlink button in linking tooltip:
|
@scofalik You just confirmed that my ideas are right :) As for detailed unlink mechanism, I'm for adapting the default mechanism from v4:
|
Yes I did, I just didn't want to go with "+1" :P |
Then you can't change the link href. Well you could by double clicking the button, if selection would appear on whole unlinked text. |
Yes, buttons can change dynamically in the toolbar to reflect changes in the content. However only if
Anyway, editing link by placing a selection inside of it with mouse will become another issue I'm preparing at this moment. |
@RyszardB Not sure if I got it right. You idea is basically to get rid of unlink button in the toolbar and that's it? |
With just one button it will be really confusing that you need to click the link button and then the unlink button in the tooltip to unlink. Very bad discoverability and as you can see here https://twitter.com/reinmarpl/status/766384770284740608 it's VERY dangerous :D. So, IMO we must have some unlink button visible when you have selection in a link. It can be a toolbar button or a button floating over a link. I believe that the second option wasn't yet mentioned. We could have a small balloon over link (and later over images, tables, etc.) with the most useful options. In case of a link it will be edit link and unlink buttons. |
@Reinmar I created a separate issue for it so let's discuss it there and find out what is possible and what is not. |
Anyway, whatever solution we finally agree upon, I expect this issue to produce at least a basic (v4–like) unlink button in the toolbar in this iteration. This is the minimum goal for iteration3. |
Closed by ckeditor/ckeditor5-link#19. |
A followup of #4712.
There are 2 possible approaches to unlinking. They could even exist along each other, it's not a big deal:
Through link panel
Pros
Cons
Unlink button in the toolbar
Pros
Cons
The text was updated successfully, but these errors were encountered: