Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of editorjs #31

Closed
danieljwestman opened this issue Feb 17, 2022 · 2 comments
Closed

New version of editorjs #31

danieljwestman opened this issue Feb 17, 2022 · 2 comments

Comments

@danieljwestman
Copy link

danieljwestman commented Feb 17, 2022

Is this extension ready for the new editorjs version (v2.23.*)? As for now this extension has an old version (v.2.22.2) which is pretty much far behind...

v2.23.0

  • Improvement — EditorConfig — The onChange callback now accepts two arguments: EditorJS API and the CustomEvent with type and detail allowing to determine what happened with a Block
  • New — Block API — The new dispatchChange() method allows to manually trigger the 'onChange' callback. Useful when Tool made a state mutation that is invisible for editor core.
  • Improvement — UI — Block Tunes toggler moved to the left
  • Improvement — UI — Block Actions (BT toggler + Plus Button) will appear on block hovering instead of click
  • Improvement — UI — Block Tunes toggler icon and Plus button icon updated
  • Improvement — Dev Example Page — The menu with helpful buttons added to the bottom of the screen
  • Improvement — Dev Example Page — The 'dark' theme added. Now we can code at night more comfortably.
  • Improvement — Rectangle Selection — paint optimized
  • Fix — Rectangle Selection — the first click after RS was not clear selection state. Now does.
  • Improvement — Blocks API — toolbar moving logic removed from blocks.move() and blocks.swap() methods. Instead, you should use Toolbar API (it was used by MoveUp and MoveDown tunes, they were updated).
  • New — Blocks API — The getBlockIndex() method added
  • New — Blocks API — the insert() method now has the replace: boolean parameter
  • New — Blocks API — the insert() method now returns the inserted Block API
  • New — Listeners API — the on() method now returns the listener id.
  • New — Listeners API — the new offById() method added
  • New — API — The new UiApi section was added. It allows accessing some editor UI nodes and methods.
  • New — The Roadmap added to the Readme
  • Refactoring — Toolbox became a standalone class instead of a Module. It can be accessed only through the Toolbar module.
  • Refactoring — CI flow optimized.
  • Fix - Recognize async onPaste handlers in tools [Bug] Async onPaste handlers not recognized codex-team/editor.js#1803.
  • Fix — Fire onChange event for native inputs [Bug] TypeError: t.some is not a function codex-team/editor.js#1750

Latest:
https://github.com/codex-team/editor.js/releases/tag/v2.23.0

@dimitrov-adrian
Copy link
Owner

Not ready. Last weekend I had working on make it ready, but have some issue with the new styling and how the tool icon is placed in left, and all the menues are hidden under Directus sidebar. Some styles appeared broken too.

Anyway, I am planning to upgrade in next week.

dimitrov-adrian added a commit that referenced this issue May 7, 2022
@dimitrov-adrian
Copy link
Owner

It's now upgraded with the v1.4.0 version. The issue with the "bad looking" toolbox on 2.23 is addressed on 2.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants