Elements schema validation does not allow permittedContent with AND
The permitted validator class supports joining tags with AND using [..]
.
Reduced test-case
{
"my-component": {
"permittedContent": [
["@flow", { "exclude": ["span"]}]
]
}
}
Expected result
My component should allow all flow elements but span.
Actual result
Schema validation error.