Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ const $tagOptions = computed(
newInstances.set(childInstance.id, childInstance);
newInstances.set(instance.id, {
...instance,
children: [...instance.children, { type: "id", value: childInstance.id }],
// avoid preserving original children to not invalidate tag
// when some descendants do not satisfy content model
children: [{ type: "id", value: childInstance.id }],
});
for (const tag of tags) {
childInstance.tag = tag;
Expand Down