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

Can't select image from library #23

Closed manufest closed 2 years ago

manufest commented 2 years ago

Thanks for your work on this amazing plugin!

I'm having one issue with it. When I insert an image block I can only use the upload or url option from the Directus dialog. When I select from library the drawer opens behind the upload dialog and there is no click-through possible. Trying to select an image closes the dialog overlay and leaves me without an image added.

dimitrov-adrian commented 2 years ago

It seems it's Directus issue, as it reproduces also with markdown and wysiwyg editors as well.

I had opened issue on https://github.com/directus/directus/issues/10892

thank you @manufest

danieljwestman commented 2 years ago

Any progress with this? It's pretty annoying not being able to choose an existing asset from the library and be forced to upload the same assets over and over again...

I see that Directus core (e.g. in the wysiwyg) solved this with a drawer instead of a dialog:

Screenshot of Creating Item in Pages

dimitrov-adrian commented 2 years ago

Yea, it's annoying for me too. I had hope core team will take it in their side, as I like modals more than drawers. Anyway, I'll go with the drawer too.

dimitrov-adrian commented 2 years ago

Fixed after v1.2.1