mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-15 21:51:57 +00:00
"Cannot add this block" 0.21.1 -> 0.22 #410
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AndersMad on GitHub (Oct 8, 2020).
I get "Cannot add this block as it as already attached to another container (block.Parent != null)" after updating from 0.21.1 to 0.22 (nothing else changed)..
I'm a bit lost - any hints?
@AndersMad commented on GitHub (Oct 12, 2020):
This seems to be happening in Microsoft.DocAsCode.MarkdigEngine.Extensions.MarkdownDocumentVisitor:
@xoofx commented on GitHub (Oct 12, 2020):
You should report that on docfx repo then.
@xoofx commented on GitHub (Oct 12, 2020):
In Markdig 0.22 we can no longer reuse a same node in multiple places
@AndersMad commented on GitHub (Oct 12, 2020):
ok, mark me - I'll dig into it later :) closing this
@AndersMad commented on GitHub (Oct 13, 2020):
I misread this - this is merged into the v3 branch - not current release.. FYI if someone else gets here: https://github.com/dotnet/docfx/pull/6616
@mungojam commented on GitHub (Oct 18, 2020):
a newbie question on this then. If I want to just take some blocks from one document and copy them to another document, how is that possible? Do I have to artificially remove them from the original?