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
For example, declare a node with background-color and a mark with background-color, the node background-color attribute will pass to the node's children.
Style parse rules will match regardless of whether a node parse rule happened to already have looked at that style (in fact, the library doesn't even know that your getAttrs function looked at the style). I don't really see a way to make this work differently.
For example, declare a node with
background-color
and a mark withbackground-color
, the nodebackground-color
attribute will pass to the node's children.Input HTML
Expected
But get
The "colorBlock" node matches "red" color attribute, but I can't prevent the "red" color apply to the "abc" text as "colorText" mark.
The text was updated successfully, but these errors were encountered: