-
-
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 basic link creation and edition UX using mouse #4717
Comments
Should we make it in a way that, if the user starts typing after creating a link in a collapsed selection, the typed text replaces the link contents? |
@fredck What you described is beyond the scope of this particular issue. More sophisticated UX behaviours will be described in separate issues, so they can be developed separately. What I created in this issue is a must have thing in iteration3. Other behaviours can be implemented in i3 or following iterations. |
So no discussion if this is a must have? I remember @Reinmar saying something about being able to define the text of the link in such cases, so I thought about proposing the above solution for it. |
I agree with Fred that it's a must have, but I understand Olek's point – this can be done in a separate ticket. It's a bit beyond the scope of the link itself because it's also a question what engine and typing packages will do. |
@fredck, @Reinmar: I decided to split the UX into a number of issues, as granular as possible. This will let us stay focused, understand current status of implementation and manage the lifecycle of feature in the future. How many issues like this will be closed in iteration3? This one, that's for sure. More is better, of course. I'm creating other issues for different UX aspects of linking right now, so stay tuned. |
Sorry for closing :) Wrong button :) |
Closed by ckeditor/ckeditor5-link#19. |
A followup of https://github.com/ckeditor/ckeditor5-link/issues/2.
Note: This issue is for mouse–only interaction.
Note: This is the most basic but also the must–have UX that should be implemented in iteration3. Other improvements and sophisticated tweaks to the link UX will have their own issues, which can be resolved in later iterations.
Link creation
Collapsed selection
Expected:
Regular selection
Expected:
Link edition
href === innerHTML
Expected:
href !== innerHTML
Expected:
The text was updated successfully, but these errors were encountered: