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

How to load the extension into system? #3

Closed
jocstech opened this issue Jan 21, 2021 · 2 comments
Closed

How to load the extension into system? #3

jocstech opened this issue Jan 21, 2021 · 2 comments

Comments

@jocstech
Copy link

Hello, Sorry, but how do I load the extension into system? I did copy the dist file into interfaces/index.js and reload the Directus instance, but nothing is there.... is there any special instruction I need do?

@jocstech
Copy link
Author

I found the correct way to install the EditorJS extension by asking the author:

1, Firstly, copy the index.js file from /dist folder to your Directus project path: /extensions/interfaces/editorjs/index.js
2, Reload your Directus server instance
3, When you create the text editor field please select JSON field type instead of text, select Block Editor for the interface property, finally select raw value for the display property.
4, Done!

@dimitrov-adrian
Copy link
Owner

Yes, it need own directory.

When Directus 9 releases, will include more friendly documentation about it and how to install and will build more proper package.

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