Link text at end should have link trimmed with space appended #196
Labels
enhancement
New feature or request
mode - markdown
Affects the editor's markdown input mode
mode - rich text
Affects the editor's rich text (wysiwyg) mode
Milestone
Describe the bug
In both modes, if you select text that ends in a space and make a link (ctrl-L), the link will include the space. Friendlier is the way that it works in the current editor: if the link text ends with a space, the space is trimmed from the link and appended after the link. Especially pertinent as double clicking a word that has a space after it will normally include the space in the highlighted text.
Applies to any marks, including bold, italics, etc
To Reproduce
Expected behavior
Link will only be the word, with space included (but not linked) after
Screenshots
Desktop (please complete the following information):
Windows 11 Chrome 103
Additional context
https://meta.stackexchange.com/a/380335/51
The text was updated successfully, but these errors were encountered: