codex-team / codex-team/editor.js

"Play with demo" on home page scrolls to wrong location

Open
#2,376 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I want to try out editor.js before investing more time in it. So I visit the home page https://editorjs.io/ , and I click the button labelled "Play with demo", as you can see in this screenshot:

![Screenshot](https://github.com/codex-team/editor.js/assets/355454/feddc48a-cd08-40e8-8c17-9150a317121a)

When I click the button "Play with demo", it scrolls to this part of the home page:

![Screenshot](https://github.com/codex-team/editor.js/assets/355454/89e01b6a-0930-46fc-bfb5-14d280013093)

As you can see, the part of the screen that is displayed is "Clean JSON output". This made me think that the demo was trying to demonstrate example JSON output. But I wanted to try the editor.js editor out. It turns out, I needed to scroll up to see the demo. I experienced this issue using Firefox and using Chrome on Ubuntu 23.04.

I spent maybe twenty minutes on this, exploring other demos that I found by Googling, but I only realised now that there is a demo page in the home page.

My suggestion:

1. Fix the scrolling issue so that I can see the demo immediately, rather on hoping on the user figuring out that they need to scroll up after pressing the button
2. Or... provide a separate web page for the demo, to sidestep scrolling issues altogether. (Also, this would be better for those searching for a editor.js demo using a search engine like Google)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.