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
When executing getComputedStyle(dom).getPropertyValue('--lexical-indent-base-value'), the dom node hasn't been inserted into the document yet, causing the retrieved value to be empty.
The text was updated successfully, but these errors were encountered:
I have a paragraph node with --lexical-indent-base-value set to 20px.
However, during initialization, padding-inline-start is still set to 40px.
I debugged a bit and preliminarily suspect the following logic to be the issue:
When executing getComputedStyle(dom).getPropertyValue('--lexical-indent-base-value'), the dom node hasn't been inserted into the document yet, causing the retrieved value to be empty.
The text was updated successfully, but these errors were encountered: