I find if use the parseRule style in node schema, it will throw an error.
In my scene, i will read display:flex and parse to a flexbox node.
I find if use the parseRule style in node schema, it will throw an error.
In my scene, i will read display:flex and parse to a flexbox node.
Parse rules targeted on styles can only be used with marks. But you can use a getAttrs
function (with some broad tag
selector) as a predicate to run custom logic that determines whether the rule applies.