codex-team / codex-team/editor.js

[Bug] Cross-Focus between two EditorJS instances

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

Description

Describe a bug.

Multiple EditorJS instances on same page, each with own holder/different id.

When focusing the first one, then directly the second, the first ones toolmenu is still visible, only after a focus on not-editorjs closes both, with a focus in between it closes/opens correctly.

Expected behavior:
Closing the menu of the first focused instance, when focusing directly into another EditorJS on the same page.

Screenshots:
![grafik](https://user-images.githubusercontent.com/7737034/109405739-ed0a3080-7973-11eb-98cf-187ee950ed10.png)

Device, Browser, OS:
Desktop, Firefox 84, Windows 10

Editor.js version:
2.19.2-rc.1

Plugins you use with their versions:
only paragraph, but inside `react-editor-js@1.9.0`

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.