dimitrov-adrian / directus-extension-editorjs-interface

Block editor (Editor.js) interface for Directus 9
https://www.npmjs.com/package/directus-extension-editorjs
GNU General Public License v3.0
180 stars 42 forks source link

Deleting multiple blocks isn't synced #28

Closed infomiho closed 2 years ago

infomiho commented 2 years ago

When you select multiple blocks and then hit delete key, the blocks are not deleted. Only one of the blocks is deleted. It's a known issue in Editor.js

Here's a fix https://github.com/dimitrov-adrian/directus-extension-editorjs-interface/pull/30 and it's based on a workaround provided here https://github.com/codex-team/editor.js/issues/1755#issuecomment-929550729