mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
test(editor): move blocksuite test to tests folder (#10917)
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"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": {
|
||||
"dark": "#000000",
|
||||
"light": "#ffffff"
|
||||
},
|
||||
"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