Skip to content

Conversation

@ReFFaT
Copy link
Contributor

@ReFFaT ReFFaT commented Feb 20, 2025

I solved a problem where if we used a link to the selected text, the focus would be on the penultimate character. The problem was that the link wraps the selected text in [text] and adds one character before. It turns out that the focus that was already there remains in place, but an invisible additional character appears in the text. I solved the problem by adding an empty text selection. However, it was not possible to attach it to the existing dispatch — the link was copied to the plain text. When creating a new dispatch, the problem was solved. If you can tell me how to get around this, I would fix the re-dispatch.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@ReFFaT ReFFaT self-assigned this Feb 20, 2025
@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@makhnatkin makhnatkin merged commit c4797ef into main Mar 14, 2025
5 checks passed
@makhnatkin makhnatkin deleted the fix(link)--fix-link-cursor branch March 14, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants