Get existing Editor instance (from another context) #5878
Unanswered
TheDigitalOrchard
asked this question in
Q&A
Replies: 1 comment
-
I'd say it's up to you to decide where to store your editor instance. The proper way would be a global state manager which could be accessed around your application. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a second JavaScript file that I need to work with my editor instance. I've searched extensively, but it seems that the only way to get the Editor instance is via
init()
, but I want to get the instance after it has already been initialized in a different script.Is there an obvious method that I've missed?
I do have a custom solution in mind, but wanted to ask about an official method before implementing something custom.
Thanks for any advice.
Beta Was this translation helpful? Give feedback.
All reactions