-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Writer: adding link, insert text when no selected #5684
Writer: adding link, insert text when no selected #5684
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR fixes the issue but broke a behaviour that you can reproduce the issue with following steps:
- Select a word
- Insert a link to the word
- Click to the linked word (not select whole linked text)
- You'll see link mark is blue as active
- Click to link button again
- Update url or title
- Save and see the issue
@afbora Please always describe what's the issue. Best with screenshots or videos. Cause there is always the chance that I or others are not aware of an issue - and then we won't just see it without being pointed directly to it. 😅 I just tried your steps and for me it looks all right: Screen.Recording.2023-09-24.at.17.00.52.mov |
@distantnative Sorry Nico 🙈 You're right. Here my screencast: link.mp4Btw this issue not exists for beta.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we need to check if the cursor is already on an existing link
It would have been cool to add this to beta.2 but I don't find the time to check out how this could be solved today. Let's fix it in beta.3. I think the issue is pretty clear. |
ebbc005
to
30c4859
Compare
I've pushed a fix about the issue, check out: 30c4859 |
@afbora Oh I like the way/idea - need to test it in the next days!👍 |
I've just tested it and it works great! |
This PR …
For the Writer link and email dialog, insert the url/email address when dialog is applied and no text has been selected.
Fixes