You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a page with multiple editors for managing multilingual content.
Each editor has a translate button, which uses Google Translate to translate the English editor's content, and now need to update the non-English editor with the translation.
Looks like editor.setValue(html, true); can update the value however I can not find a way to obtain the existing editors on the page.
Any idea how I can achieve this?
The text was updated successfully, but these errors were encountered:
As a workaround, I upon initializing the editors, I stored them in a global hash, which I later accessed when I needed a specific editor. Not ideal, but it works...
I have a page with multiple editors for managing multilingual content.
Each editor has a translate button, which uses Google Translate to translate the English editor's content, and now need to update the non-English editor with the translation.
Looks like
editor.setValue(html, true);
can update the value however I can not find a way to obtain the existing editors on the page.Any idea how I can achieve this?
The text was updated successfully, but these errors were encountered: