Embed Link¶
embed_link is a block element node that embeds content from an external service, such as SeaTable or Figma. It is a void element.
Children¶
- Its
childrencontain one empty text node as a structural placeholder. The embedded content is identified bylinkandlink_type, rather than editable child text. See Void Elements.
Data Structure¶
Required Properties¶
link(required, string): non-empty, absolute HTTP(S) URL of the embedded resource.link_type(required, string): embed provider. Current values areseatableandfigma.
Optional Properties¶
data(optional, object): saved display settings. It can be omitted when no height is saved.data.height(optional, number): positive, finite display height in CSS pixels (px), without a unit suffix in JSON. When omitted, the editor uses300px.
For display, the editor clamps positive saved heights to 300–550 pixels. Non-positive saved heights fall back to 300px. Historical saved values may fall outside this display range.
Example¶
{
"id": "embed-link-id",
"type": "embed_link",
"link": "https://www.figma.com/file/example",
"link_type": "figma",
"data": {
"height": 400
},
"children": [
{
"id": "embed-link-placeholder-id",
"text": ""
}
]
}