-
Notifications
You must be signed in to change notification settings - Fork 0
Data Examples
github-actions[bot] edited this page Mar 10, 2026
·
1 revision
This page shows practical examples of data returned by Lexion APIs.
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{ "type": "text", "text": "Hello " },
{ "type": "text", "marks": [{ "type": "strong" }], "text": "Lexion" }
]
},
{
"type": "heading",
"attrs": { "level": 2 },
"content": [{ "type": "text", "text": "Section title" }]
},
{
"type": "bullet_list",
"content": [
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [{ "type": "text", "text": "First item" }]
}
]
}
]
}
]
}onChange / update:modelValue returns the same JSONDocument shape used by core.
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [{ "type": "text", "text": "Current editor value" }]
}
]
}<p>Hello <strong>Lexion</strong></p><h2>Section title</h2>Hello Lexion
Section title{
"document": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [{ "type": "text", "text": "Imported text value" }]
}
]
}
}{
"text": "Imported text value"
}{
"executed": true,
"document": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [{ "type": "text", "text": "Updated value after command" }]
}
]
}
}Commercial collaboration and AI payload shapes are intentionally omitted from the public repository documentation.
The public repo documents only community package inputs and outputs.