Added note to attempt to keep children of reference nodes

This commit is contained in:
Stefan Zermatten
2021-04-29 16:13:22 +02:00
parent 4faea42371
commit c65c8f3299

View File

@@ -192,6 +192,9 @@ function reifyNodeReferences(nodes, visitedRefs = new Set(), depth = 0){
return true;
});
// TODO: Force the referencedNode to take the old id of the reference
// such that the reference's children can be kept
// Give the new referenced sub-tree new ids
renewDocIds({
docArray: addedNodes,