p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

relative fragment links are broken

Open eyaler opened this issue 6 months ago • 1 comments

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 avatar May 24 '25 20:05 eyaler

Hi @eyaler @raclim kindly please assign me this tissue

ojuschugh1 avatar Jun 10 '25 07:06 ojuschugh1