tei-publisher-components
tei-publisher-components copied to clipboard
URL being re-written in the browser using the <pb-link> component
I am using TEI-Publisher components embedded within another website. When a <pb-view>
. I can see <pb-link>
has a 'history' attribute but this doesn't seem to function the same way as the 'disable-history' attribute on <pb-view>
. I've also tried setting disabled=true on the component and this does not stop it rewriting the URL when clicked. Is there a way to pass disable-history=true in the path, or any other attribute that you supply to <pb-link>
, please, i.e.
<pb-link path="myrddin_005.xml?disable-history=true" xml-id="myrddin_005_testun_gwr">Ancient version</pb-link>