codex-team / codex-team/editor.js

💡 onFocus & onBlur events

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

Description

I'm using a combination of a few libraries where some has keyboard listeners. The listeners are also active when focused on the editor. I don't want to give up on this feature. Ideally, I would toggle it off when `editorjs` is in focus and toggle it back on when `editorjs` is blurred.

I believe `onBlur` PR was already merged. Here is the PR: [https://github.com/codex-team/editor.js/pull/1224](url). Although this isn't reflected on the docs. Was it removed?

It would be useful in such specific scenarios to have these events.

Thanks.

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.