Open pbauer opened 1 year ago
@tiberiuichim Is there a way to represent an anchor in slate?
@davisagli No, here's the code that renders the above data:
In principle it's a simple matter of stashing some data in the link
element and rendering it in the ViewLink
component.
@tiberiuichim Thanks. Though, semantically here maybe it makes more sense as a property of the heading. So maybe it has some relation to https://github.com/plone/volto/pull/3540 then...
@davisagli oh, right, I forgot about that PR :( I should finish it maybe
I'm working around that issue for the plone.org migration by dropping the anchors here: https://github.com/plone/plone.org/commit/dedc1d039023c5143b8ac4bf27c9068f66e53efa#diff-80a050ecf679f4bda74b9fa99abf9b8ab3211a301b62a5b826430d52194e4839R211
This html :
<h2><a name="fairuse"></a>Examples of Fair Use of the Plone Trademark</h2>
will result in the following broken block: