dimitrov-adrian/directus-extension-editorjs-interface

How do you add plugins to editorjs?

Opened this issue · 8 comments

image
Does this extension allow you to add plugins to editorks? If so how?

Unfortunately, right now there is no way to do it out of the box. The only way is to fork the repo and use custom version.

What plugin you need?

It would be very nice to have the table plugin enabled. Can you explain how to do that?

It would be very nice to have the table plugin enabled. Can you explain how to do that?

Actually the table tool is included and you could enable it from the interface settings.

Actually the table tool is included and you could enable it from the interface settings.

Oh, thank you! I didn't see that there.

Hi! I want to add and configure the Link Autocomplete plugin ( https://github.com/editor-js/link-autocomplete ). @dimitrov-adrian can you give me some starting point how can i do that?
My goal is ability to link texts to directus colletion elements.
Many, many thanx!

Hi, I would like to add the toggle block. https://github.com/kommitters/editorjs-toggle-block
Can anyone give me some pointer how to archieve this.?

It's not yet ready to create pr tho, I'm working on dynamic importing plugin packages and it works for me.

This requires to be provided user-defined plugin bundled package in form of es module, and serve it via endpoint extensions of directus.

https://github.com/sarashino/directus-extension-editorjs-interface/blob/c3916d2793e1211e28483e93ae1b22ea00b0e0e2/src/get-tools.ts#L135

This also affects: