Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL being re-written in the browser using the <pb-link> component #154

Open
casglur opened this issue May 23, 2023 · 0 comments
Open

URL being re-written in the browser using the <pb-link> component #154

casglur opened this issue May 23, 2023 · 0 comments

Comments

@casglur
Copy link

casglur commented May 23, 2023

I am using TEI-Publisher components embedded within another website. When a gets clicked it then re-writes the URL - almost like it cancels the disable-history=true setting on the <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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant