It is just a test to see whether the block editor loads, because it is not so easy: it requires specific versions of the dependencies, or it will fail with some idiotic syntax errors after failing to “convert” the libraries code. And it is impossible to use with Vite: it refuses to accept incorrect SCSS code, that WordPress has a lot of, with things as `::after::after`. What i did is write my package.json, replace the generated lock file with the one from Isolated Block Editor, and npm install again, to “clean up” the lock file.
4 lines
60 B
Plaintext
4 lines
60 B
Plaintext
/node_modules/
|
|
/web/static/editor.css
|
|
/web/static/editor.js
|