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

Unable to load images in data-tour method #76

Open
mrniamster opened this issue Dec 26, 2024 · 0 comments
Open

Unable to load images in data-tour method #76

mrniamster opened this issue Dec 26, 2024 · 0 comments

Comments

@mrniamster
Copy link

mrniamster commented Dec 26, 2024

Describe the bug

Issue 1 : the below issue happens only when an external image is getting loaded, local images loads fine.

  • It strips off the https strings every time.
<button aria-label="Collaborate" data-tour="step: 1; title: Step1; content: Lorem ipsum dolor sit amet; image: https://example.com/image.jpg">
  Collaborate
</button>

Results in :
image

Issue 2 : Loading Image in Content in MD format Fails

<button aria-label="Collaborate" data-tour="step: 1; title: Step1; content: ![Alt Text](https://example.com/image.jpg) ; image: https://example.com/image.jpg">
  Collaborate
</button>

Expected behaviour
Image should load in data-tour methods, https urls should be respected.

Additional context
"tourguidejs": "^1.1.5",

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