Adapt inline content to what a block will actually hold. Marks the block
forbids are dropped, and an inline node it cannot contain is reduced to the
text it stands for. A hard break becomes a newline, which is the same line
ending written in the only form a text* block such as a code block can
store. Without this, pasting formatted text into a code block builds a
document the schema would reject.
Adapt inline content to what a block will actually hold. Marks the block forbids are dropped, and an inline node it cannot contain is reduced to the text it stands for. A hard break becomes a newline, which is the same line ending written in the only form a
text*block such as a code block can store. Without this, pasting formatted text into a code block builds a document the schema would reject.