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
Indeed, adding or removing class is not supported at the time, we need to support this feature following W3C specs (adding a property className to Elements and this property should have a setter, when it's called, we should re-compute all the NSS style and apply them to the element)
I am experimenting with the component branch (b1f1f7a) and was wondering if it is planned to dynamically update classes.
A naive impletentaiton in
src/Embed/framework/elements/node.js
Here is a simple test script.
Currently this test script produces the following layout (which is not what I expected)
The text was updated successfully, but these errors were encountered: