Description
p5.js version
1.9.4
What is your operating system?
Mac OS
Web browser and version
Chrome 126.0.6478.127
Actual Behavior
When typing out p5.js functions and keywords, the autocomplete list (id="cm-complete-0"
) shows potential matches. The arrow links to the general reference page.
For example, the p5.js background function code:
<a href="https://p5js.org/reference/#/p5/background" role="link" onclick="event.stopPropagation()" target="_blank"><span class="hint-hidden">open background reference</span><span aria-hidden="true">➔</span></a>
I think the problem comes from the additional #/
in the href: https://p5js.org/reference/#/p5/background
Expected Behavior
When the arrow is clicked, it should open a new tab with the reference page of the specific function/keyword.
For example, the p5.js background function reference page: https://p5js.org/reference/p5/background/
Steps to reproduce
Steps:
- Type any letter into the web editor.
- Click on any of the black arrows on a yellow background from the list of autocomplete suggestions.
- Check the page landed on. It should show the general reference page.