Node - panel

Purpose

The panel node is a container that highlights content.

Type

panel is a top-level block node.

Example

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { "type": "panel", "attrs": { "panelType": "info" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] } ] }

Fields

NameRequiredTypeValue
typestring"panel"
contentarrayAn array of one or more nodes
attrsobject
attrs.panelTypestring"info", "note", "warning", "success", "error"

Content

content must contain array of one or more of the following nodes:

Rate this page: