Child node types restriction settings? #8640
Answered
by
NiklasBr
polymed
asked this question in
Q&A / Support
-
Hi guys, Is it possible to limit which child node types a node can have? For example: Best regards |
Beta Was this translation helpful? Give feedback.
Answered by
NiklasBr
Apr 1, 2021
Replies: 1 comment 1 reply
-
It's not possible in the UI out of the box, but with Event Listeners on Data Objects (my guess is |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
polymed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible in the UI out of the box, but with Event Listeners on Data Objects (my guess is
PRE_ADD
andPRE_UPDATE
) you should be able to inspect the object withgetParent()
and handle it from there to allow or not.