Describe the bug
In the wysiwig, creating a link will not function as expected when href is a relative path.
To Reproduce
Steps to reproduce the behavior:
On a wysiwyg editor, with text.
Highlight some text and click on the link icon to create a link for that text.
in the URL input, add a relative path. i.e: /blog
Click save.
With the text still highlighted, click on the link icon and note that the slash is removed from the input field. i.e: it will now read "blog" instead of "/blog"
Save the entry and preview the page.
Click on the newly created link text.
The relative path is added to the current url, and not to the root domain.
Expected behavior
Expect to have the relative path added to the root domain. Also expect to keep the "/"
Describe the bug In the wysiwig, creating a link will not function as expected when href is a relative path.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect to have the relative path added to the root domain. Also expect to keep the "/"
Screenrecording https://www.loom.com/share/9392a78519f34fdda1a1821d1a238d5e
Additional context The issue does not persist when a full url is added. This is only for relative paths.