Replies: 1 comment 1 reply
-
I get the same problem editor.Components.getWrapper().set("traits", [ Any solution here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The steps are as follows:
1, add trait "lang" to wrapper component
2, set lang="en" with addAttributes function
3, use getHtml(), and the result is like , that is expected
4, then set lang=""
5, editor.setComponents(getHtml() of step 3), then check the lang trait value of wrapper, it is empty, this is not expected, i think this value should be "en"
please help, thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions