Files
AFFiNE-Mirror/tests/blocksuite/snapshots/code/crud.spec.ts/format-text-in-code-block-format.json

90 lines
1.9 KiB
JSON

{
"children": [
{
"children": [
{
"children": [
],
"flavour": "affine:code",
"id": "3",
"props": {
"caption": "",
"language": "typescript",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "c"
},
{
"attributes": {
"bold": true
},
"insert": "o"
},
{
"insert": "ns"
},
{
"attributes": {
"bold": true
},
"insert": "t a"
},
{
"insert": "a"
},
{
"attributes": {
"bold": true
},
"insert": "a = 1000"
},
{
"insert": ";"
}
]
},
"wrap": false
},
"type": "block",
"version": 1
}
],
"flavour": "affine:note",
"id": "1",
"props": {
"background": {
"dark": "#000000",
"light": "#ffffff"
},
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
},
"hidden": false,
"index": "a0",
"lockedBySelf": false,
"xywh": "[0,0,498,92]"
},
"type": "block",
"version": 1
}
],
"flavour": "affine:page",
"id": "0",
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": [
]
}
},
"type": "block",
"version": 2
}