type

Block

src @Js
abstract class Block : Node

A block node.

We can think of a document as a sequence of blocks - structural elements like paragraphs, block quotations, lists, headings, rules, and code blocks. Some blocks contain other blocks; others contain inline content (text, images, code spans, etc.).

methods

Slot Details

parent

src virtual override Block? parent()

setParent

src protected virtual override Void setParent(Node? p)