Link button in markdown editor recognize URLs
requested to merge johann.sonntagbauer/gitlab-ce:52115-Link-button-in-markdown-editor-should-recognize-URLs into master
What does this MR do?
This MR enhances the Markdown link button implemented in #44627 (closed).
When selecting an URL the button will place the selection into the URL part of the markdown link and not in the text part.
The first line is the new behavior. The selection gets checked if it is an valid url and placed accordingly.
The second line is the old behavior which places the text in the first part of the pattern.
What are the relevant issue numbers?
Closes #52115 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by Johann Hubert Sonntagbauer