How to call setProp from within a onNodesChange #711
Unanswered
nathan-karo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a function attached to
<Editor onNodesChange={...}>
.From within this, I am able to use the
query
to parse theNodes
I am interested in and calculate an application specific value based on the nodes siblings.What I want to do from there is store this value against the Node, so it can be retrieved later in the
rules
. I can't seem to set theprops
orcustom
object directly as I get an error about them being read-only.Is it possible to somehow access the setProp or similar to set either
props
orcustom
to stash my data?Beta Was this translation helpful? Give feedback.
All reactions