Skip to content

EditorJS API is not accessible #189

@christoph-kluge

Description

@christoph-kluge

Environment

  • @editorjs/editorjs version: 2.23.2
  • react-editor-js version: 2.x

Describe

I wanted to switch from 1.10.0 to 2.x but I cannot access the the editorjs core api anymore.
The new README.md states it's not accessible, just an abstracted version of it.

We rely on many features to access and work with the editor instance. It's some kind of sticky header where we add concrete buttons to quickly interact with the editor. Here are some as an example use-cases:

  • Block API -> "insert new block of type X" at the end (or the beginnig)
  • Caret API -> Quickly move to the top/end of the editor
  • Toolbar API -> We have buttons to open/close the toolbox

Was there a specific reason to "remove" this access?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions