RTE: Anchor gets stripped in UI when re-opening link #17573
Labels
affected/v13
area/backend
state/reproduced
state/sprint-candidate
We're trying to get this in a sprint at HQ in the next few weeks
type/bug
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.5.2
Bug summary
When you add a # to a link in a RTE, you'll see that the link itself is being rendered with the anchor point like so:
Front end:
After clicking on link:
It is only when you re-open the link in the RTE that the # is gone from the Anchor / querystring box:
Specifics
No response
Steps to reproduce
Create 2 doctypes -> Home Page and a Sub Page
In Home Page, add the datatype Richtext Editor.
In Home Page, under permission allow as root and add Sub Page as a child.
Create 2 Content nodes -> Home Node and a Sub Node.
In the Home Node, in the RTE field, write some dummy text.
In the RTE on the Home node, add a link to the Sub Node and in the Anchor / querystring box, add an anchor point like so:
Save the content and view the page.
After verifying the link on the front-end has an anchor point, go back to the backoffice and open the Home node.
Click on the link and open the dialog box to see the following:
Expected result / actual result
When I save the anchor point with a # then I expect to see that when I open up the dialog box again
This item has been added to our backlog AB#46177
The text was updated successfully, but these errors were encountered: