3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

21 - the table's row is the node's model, never the node

This commit is contained in:
2026-09-21 21:45:11 +02:00
parent 2e7eb0501b
commit fb48a5da6b
14 changed files with 96 additions and 84 deletions
+2 -2
View File
@@ -78,8 +78,8 @@ test("the ADF JSON Schemas hold no type the tables leave unspelled, the pinned c
function spelled(): Spelled[] {
return [
...Object.entries(blockNodes).map(([type, entry]) => spelledType(type, entry.attributes, blockArgument(type))),
...Object.entries(inlineNodes).map(([type, entry]) => spelledType(type, entry.attributes)),
...Object.entries(blockNodes).map(([type, model]) => spelledType(type, model.attributes, blockArgument(type))),
...Object.entries(inlineNodes).map(([type, model]) => spelledType(type, model.attributes)),
...Object.entries(markAttributes).map(([type, attributes]) => spelledType(type, attributes)),
]
}