We have an internationalized application. Users can change languages with a simple drawer and the UI including the data will update without page reloads.
Angular translations and editor.js internationalization obviously isn't the same and editor.js instances won't be re-initialized. So they still contain the messages from the previous language. Because of that, I'm looking for a way to change the messages of an already running editor.js instance.
We tried to save the current editor's state and re-initialize editor.js but couldn't get it working reliably. This is why it would be great to have something like editorInstance.setMessages(...).
I couldn't find anything similar in the github issues, maybe also just failed to search properly. Is this complex to implement or any other workarounds available?
We have an internationalized application. Users can change languages with a simple drawer and the UI including the data will update without page reloads.
Angular translations and editor.js internationalization obviously isn't the same and editor.js instances won't be re-initialized. So they still contain the messages from the previous language. Because of that, I'm looking for a way to change the messages of an already running editor.js instance.
We tried to save the current editor's state and re-initialize editor.js but couldn't get it working reliably. This is why it would be great to have something like
editorInstance.setMessages(...).I couldn't find anything similar in the github issues, maybe also just failed to search properly. Is this complex to implement or any other workarounds available?