Skip to content

Why are related items not deleted in their respective collections, once removed from the editor? #65

Answered by formfcw
remihuigen asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your question!

For selecting/reusing existing items have a look at …
… #19 (comment)
… https://github.com/formfcw/directus-extension-flexible-editor?tab=readme-ov-file#tutorial-relation-node-with-existing-items (video)

For deleting unused M2A items have a look at https://github.com/formfcw/directus-hook-library?tab=readme-ov-file#deleteunusedm2aitems — this is a script you can use in a custom hook extension.

Let me know if you have more questions!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@remihuigen
Comment options

Answer selected by formfcw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants