mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore: migrate blocksuite test (#9222)
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"type": "block",
|
||||
"id": "0",
|
||||
"flavour": "affine:page",
|
||||
"version": 2,
|
||||
"props": {
|
||||
"title": {
|
||||
"$blocksuite:internal:text$": true,
|
||||
"delta": []
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"type": "block",
|
||||
"id": "1",
|
||||
"flavour": "affine:note",
|
||||
"version": 1,
|
||||
"props": {
|
||||
"xywh": "[0,0,498,92]",
|
||||
"background": "--affine-note-background-white",
|
||||
"index": "a0",
|
||||
"lockedBySelf": false,
|
||||
"hidden": false,
|
||||
"displayMode": "both",
|
||||
"edgeless": {
|
||||
"style": {
|
||||
"borderRadius": 8,
|
||||
"borderSize": 4,
|
||||
"borderStyle": "none",
|
||||
"shadowType": "--affine-note-shadow-box"
|
||||
}
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"type": "block",
|
||||
"id": "2",
|
||||
"flavour": "affine:code",
|
||||
"version": 1,
|
||||
"props": {
|
||||
"text": {
|
||||
"$blocksuite:internal:text$": true,
|
||||
"delta": [
|
||||
{
|
||||
"insert": "let a: u8 = 7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"language": "rust",
|
||||
"wrap": true,
|
||||
"caption": "BlockSuite"
|
||||
},
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"id": "4",
|
||||
"flavour": "affine:code",
|
||||
"version": 1,
|
||||
"props": {
|
||||
"text": {
|
||||
"$blocksuite:internal:text$": true,
|
||||
"delta": [
|
||||
{
|
||||
"insert": "let a: u8 = 7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"language": "rust",
|
||||
"wrap": true,
|
||||
"caption": "BlockSuite"
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user