codex-team / codex-team/editor.js
Allow tools to interact with `onClick` and keyboard events
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I'm trying to write a tool that allows the user to interact with a spreadsheet - but I'm unable to trigger any events inside the tool as there's no way to tell *editor.js* to pass-through some events.
The events I'm interested in accessing inside the tool are:
- `click`/`touch`
- any of the `utils.keyCode` keyboard events
- copy/paste (ctrl+c, ctrl+v)
The only option I saw is to enable line breaks via an *internal* setting - is it possible to add a more permissive API for tools? The current situation limits the tools to only the very simple interactions, and with a few trap functions/settings it could be easily resolved to allow more complex tools.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.