Skip to content

relative fragment links are broken #3495

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

Open
eyaler opened this issue May 24, 2025 · 0 comments
Open

relative fragment links are broken #3495

eyaler opened this issue May 24, 2025 · 0 comments
Labels
Area:Editor For CodeMirror-related features Bug Error or unexpected behaviors On Hold Work on this issue is paused for now

Comments

@eyaler
Copy link

eyaler commented May 24, 2025

p5.js version

n/a

What is your operating system?

Windows

Web browser and version

firefox

Actual Behavior

a fragment link in html eg:

<a href="#frag">jump to frag</a>
<div id="frag">hi!</div>

are broken and result in:
"Not found"
when running before saving, or:
{"message":"Asset does not exist"}
when running after saving

Expected Behavior

jump to fragment as expected in HTML

Steps to reproduce

see above snippet or here:
https://editor.p5js.org/eyaler/sketches/Lo8oYAYsR

@eyaler eyaler added Bug Error or unexpected behaviors Awaiting Maintainer Approval Needs review from a maintainer before moving forward labels May 24, 2025
@raclim raclim added Area:Editor For CodeMirror-related features On Hold Work on this issue is paused for now and removed Awaiting Maintainer Approval Needs review from a maintainer before moving forward labels May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Editor For CodeMirror-related features Bug Error or unexpected behaviors On Hold Work on this issue is paused for now
Projects
None yet
Development

No branches or pull requests

2 participants