Hi!
I’m looking to extend additional and custom editor blocks. What I’ve discovered is that the folder name that houses my custom blocks in the /site/plugins
folder has to be alphabetically before the “editor” plugin.
For example, if you were to copy the info-block block from the examples
folder into the plugins
directory, you’ll get the error “The field type “xxx” does not exist”. But if you were to rename the folder to something beginning with ‘a’, for instance, it works!
Could you please confirm this, or am I seeing things?
Thank you!
Edit: I’m so sorry, it’s actually the complete opposite! The custom editor blocks directory has to be after the editor
directory alphabetically. I suspect it’s to do with the editor.block
method being called before the editor plugin…