iframe is not working when src set with relative path
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 45k
- Forks
- 2.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 105
Description
### What happened?
iframe is not working when src set with relative path
Full path - working:
Relative path - Not working:
### Reproduce the Bug
1. Add html file in assets "SomePage.html"
2. Add iframe in journal or in a regular page
3. iframe is empty
### Expected Behavior
iframe should display SomePage.html content
### Screenshots
_No response_
### Desktop Platform Information
Win 10; Version 0.7.3
### Mobile Platform Information
_No response_
### Additional Context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Windows 10 with version 0.7.3 by placing SomePage.html in assets and embedding it from a journal or regular page using the relative iframe path. Compare the relative-path result with the working full path, and consider the issue done when SomePage.html content displays in the iframe.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100