Closed danieljwestman closed 2 years ago
I had tried exact same steps and it works.
Do you see it loaded in Loaded extensions:
when starting Directus?
What is your setup, npm installation (version) or with docker?
@dimitrov-adrian
Loaded extensions:
only includes my other extensions, not editorjs
I'm running a Directus clone locally (latest commit).
It's funny, but in local build of directus I do not get Loaded extensions:
in console. Anyway, tried to install on latest from main, and it seems to works, but needed to restart directus few times.
Okay, weird. Testing with fresh Directus install and fresh download of editorjs extension with no luck...
What is your nodejs version, and what os?
v.16.0.0 MacOS Catalina / Big Sur
Clearing the browser cache helped in my case.
Still cannot reproduce.
npm package works for me, also using the https://github.com/dimitrov-adrian/directus-extension-editorjs-interface/releases/download/v1.0.1/index.js (from releases downloads) and putting into extensions/interfaces/editorjs/index.js works too.
I'll keep this open, if any other has such issue too.
@dimitrov-adrian Okay...
I managed to install the extension with npm install directus-extension-editorjs
and the it gets loaded when starting up. But how do I add the interface to a field? I can't find it...
Am I missing something @dimitrov-adrian ?
Actually no, I am trying to reproduce. Tried on Directus from docker and with local npm install, and on different browsers (Chrome, Safari and Firefox) but none of this make me missing the interface. I am out of ideas.
You are using the old field creation flow? Could you attach a screendump?
https://user-images.githubusercontent.com/1009639/144491141-5b598aea-fd1a-403a-ab30-3b7e98ffbe38.mp4
Yes, in advanced field flow
Just added it to the new field flow (with 1.0.2)
Thank you very much.
Suddenly it works for me too (with 1.0.2) 😅
Have a nice weekend!
Nice to test out editor.js in Directus 👍🏻
However, I can't get it to work on my Directus instance (v9.0.0-rc.95)...
npm install
in the editorjs dirnpx directus-extension build
npm run dev