moveInlineChildren function
Moves all Fragment and Link children from source to target.
Implementation
void moveInlineChildren(Root root, InlineContainerNode source, InlineContainerNode target) {
for (final child in source.getChildren().toList()) {
if (child is Fragment || child is Link) {
removeNode(root, child);
appendChild(target as FNode, child);
}
}
}