Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat(core): improve text preview in editor settings (#10070)

Oleg804d08423b27
diff --git a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/editor/edgeless/docs/text.json b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/editor/edgeless/docs/text.json
index 6c96e36753..1f78f8a811 100644
--- a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/editor/edgeless/docs/text.json
+++ b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/editor/edgeless/docs/text.json
@@ -1,14 +1,14 @@
{
"type": "page",
"meta": {
- "id": "NJwLoscdk4",
- "title": "BlockSuite Playground",
- "createDate": 1725610138401,
+ "id": "fXqbv1zt2j",
+ "title": "TextDoc",
+ "createDate": 1739027555513,
"tags": []
},
"blocks": {
"type": "block",
- "id": "W-A_1geJy3",
+ "id": "Mz1SM8_rfE",
"flavour": "affine:page",
"version": 2,
"props": {
@@ -16,7 +16,7 @@
"$blocksuite:internal:text$": true,
"delta": [
{
- "insert": "BlockSuite Playground"
+ "insert": "TextDoc"
}
]
}
@@ -24,7 +24,7 @@
"children": [
{
"type": "block",
- "id": "KNi1ipoyX6",
+ "id": "AnKvfM9lyB",
"flavour": "affine:surface",
"version": 5,
"props": {
@@ -33,25 +33,51 @@
"children": [
{
"type": "block",
- "id": "bv-d4LA-Nr",
+ "id": "xLced7EEmu",
+ "flavour": "affine:frame",
+ "version": 1,
+ "props": {
+ "title": {
+ "$blocksuite:internal:text$": true,
+ "delta": [
+ {
+ "insert": "Frame 1"
+ }
+ ]
+ },
+ "background": "transparent",
+ "childElementIds": {
+ "1jGoMnK9qs": true
+ },
+ "presentationIndex": "a00CUHgMs6ZxMev19SDevIeF8BK3qMhj6Bb",
+ "xywh": "[-15.226806640625,-27.208251953125,517.9283447265625,256.18646240234375]",
+ "index": "Zz",
+ "lockedBySelf": false
+ },
+ "children": []
+ },
+ {
+ "type": "block",
+ "id": "1jGoMnK9qs",
"flavour": "affine:edgeless-text",
"version": 1,
"props": {
- "xywh": "[18.221401559354234,201.98389611782602,800.6283921393511,489.15472412109375]",
+ "xywh": "[112.00732421875,29.2640380859375,273.905029296875,127.79339599609375]",
"index": "a0",
+ "lockedBySelf": false,
"color": "#53b2ef",
"fontFamily": "blocksuite:surface:Inter",
"fontStyle": "normal",
"fontWeight": "400",
"textAlign": "left",
- "scale": 5.435052533564726,
+ "scale": 2.7781175713153754,
"rotate": 0,
"hasMaxWidth": true
},
"children": [
{
"type": "block",
- "id": "vkzwo90EHS",
+ "id": "EC2iyFQ3aU",
"flavour": "affine:paragraph",
"version": 1,
"props": {
@@ -63,13 +89,14 @@
"insert": "To Shape,"
}
]
- }
+ },
+ "collapsed": false
},
"children": []
},
{
"type": "block",
- "id": "0ugn1XiO-U",
+ "id": "Ss-EVG-70C",
"flavour": "affine:paragraph",
"version": 1,
"props": {
@@ -81,34 +108,12 @@
"insert": "Not to Adopt."
}
]
- }
+ },
+ "collapsed": false
},
"children": []
}
]
- },
- {
- "type": "block",
- "id": "mkbmK_R1sC",
- "flavour": "affine:frame",
- "version": 1,
- "props": {
- "title": {
- "$blocksuite:internal:text$": true,
- "delta": [
- {
- "insert": "Frame 1"
- }
- ]
- },
- "background": "transparent",
- "xywh": "[-21.778598440645766,126.5612581783729,880.6283921393511,640]",
- "index": "a1",
- "childElementIds": {
- "bv-d4LA-Nr": true
- }
- },
- "children": []
}
]
}