Open ram-you opened 5 years ago
tui.editor can not dynamically change the language. 😢 There is already registered issues related to this. https://github.com/nhn/tui.editor/issues/80 We are dealing with more important issues and the implementation is delaying. I will try to change the language dynamically in the near future.
I think the solution would be to expose a public method to reload : (remove + init)
Hi, can you help me please to dynamically change the language ?
onEditorLoad(instance) { this.tuiEditor = instance; },
then changed language by :
this.tuiEditor.i18n.setCode('fr_FR')
console.log( this.tuiEditor.i18n)
gives me this response:But the toolbar still in English (original) Need to refresh or reload the component and I dont know how. Thank you in advance.