codex-team / codex-team/editor.js
💡Include the ID for each block to enable auto-scroll by anchor
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
1. Describe a problem.
If a search functionality is implemented (For example) to search blocks across many editors, it would be useful to be able to send a user straight to the right editor and block for a search item.
2. Describe the solution you'd like. Mockups are welcome.
I think it would be easy - add the ID of the block as the ID of the parent HTML tag by default.
3. Are there any alternatives?
Possibly? I can't think of any more straight forward ones. It seems unnecessary to, for example, do this programmatically or as part of the API. Saved blocks all have IDs that get reused - so lets just use them?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.