security node #1838
-
I have a scenario where I'm trying to create a custom node to conditionally render something... It would look something like...
and in addNodeView or renderHMTL check the auth on the server (which already works fine from the async callback). I can't figure out how to conditionally output the contents of "security-node". I've tried a lot of different configurations of returning "dom" and "contentDOM" in addNodeView (even trying to set node.content to [] if not authorized) and my schema is set with... group: 'block', Any help is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
figured it out, it was a timing issue... |
Beta Was this translation helpful? Give feedback.
figured it out, it was a timing issue...