codex-team / codex-team/editor.js

How does one get the already instantiated instance of the Editor JS by its id value when there are two or more instances of editorjs running in the same browser?

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

Description

How does one get the already instantiated instance of the Editor JS by its id value when there are two or more instances of editorjs running in the same browser?

Currently ```const editor = new EditorJS({ holder: "my-id"});``` - I no longer have access to the ```const editor``` property, so I would like to use the id "my-id" to get hold of the instance. I'm struggling to find documentation to confirm or reject if this is possible. I do hope it's possible to do this?

Many 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.