doouding
02122098c7
fix: drag block issue ( #9902 )
...
### Changed
- Added support for changing the preview offset during dragging.
- Fixed the preview rendering for embed block and surface-ref block
- Resolved an issue where the host element might be reused in certain cases, which could cause unexpected behavior
- Moved viewport-related constants and methods to a more appropriate location
2025-02-05 07:25:53 +00:00
Saul-Mirone
17bf75e843
refactor(editor): remove dependency of command global types ( #9903 )
...
Closes: [BS-2216](https://linear.app/affine-design/issue/BS-2216/remove-global-types-in-command )
2025-01-27 12:28:46 +00:00
fundon
ffd54c6620
refactor(editor): use selected signal in block component ( #9849 )
2025-01-27 02:56:10 +00:00
pengx17
4c665594d6
fix(editor): ref on click slots should not be global ( #9830 )
...
fix AF-2129
2025-01-22 05:20:55 +00:00
doouding
1560880abd
fix: drag embed block preview ( #9791 )
...
Fixes [BS-1518](https://linear.app/affine-design/issue/BS-1518/拖拽一个-embed-view-的-linked-doc,其-indicator-是错误的 )
2025-01-20 09:25:05 +00:00
donteatfriedrice
4bd43a698c
refactor(editor): refactor linkPreviewer as an extension and remove bookmark service ( #9754 )
...
[BS-2427](https://linear.app/affine-design/issue/BS-2427/移除-bookmark-block-service ) [BS-2418](https://linear.app/affine-design/issue/BS-2418/linkpreviewer-重构成插件 )
2025-01-20 04:18:00 +00:00
fundon
7436c139ab
fix(core): improve doc title and icon display ( #9755 )
...
Closes: [AF-2132](https://linear.app/affine-design/issue/AF-2132/优化-emoji-title-和-icon-显示 )
2025-01-18 17:29:15 +08:00
donteatfriedrice
5c4e87ddb5
feat(editor): support text highlight html adapter ( #9632 )
...
[BS-2061](https://linear.app/affine-design/issue/BS-2061/html-adapter-支持-text-highlight-样式 )
2025-01-13 02:20:58 +00:00
pengx17
f78857bb11
feat(editor): add more open doc options to editor toolbar ( #9588 )
...
fix AF-2036, AF-2092
2025-01-09 08:04:21 +00:00
Saul-Mirone
d21ef47ae8
chore(editor): rename std.doc to std.store ( #9596 )
2025-01-09 04:16:28 +00:00
Saul-Mirone
3683297ccf
feat(editor): add feature flag service ( #9592 )
2025-01-08 15:46:31 +00:00
Saul-Mirone
5842d45ab1
feat(editor): merge store and blocks ( #9591 )
2025-01-08 13:01:19 +00:00
Saul-Mirone
fe727412be
feat(editor): add editor store ( #9584 )
2025-01-08 07:47:43 +00:00
Saul-Mirone
f778d1a28a
refactor(editor): move extension to store ( #9552 )
2025-01-06 15:15:14 +00:00
Saul-Mirone
fc863e484c
refactor(editor): remove selection global types ( #9532 )
...
Closes: [BS-2217](https://linear.app/affine-design/issue/BS-2217/remove-global-types-in-selection )
2025-01-06 03:45:11 +00:00
Saul-Mirone
3d168ba2d2
refactor(editor): reorg code structure of store package ( #9525 )
2025-01-05 12:49:02 +00:00
Saul-Mirone
c773982ced
refactor(editor): rename store api ( #9518 )
2025-01-04 12:51:56 +00:00
Saul-Mirone
dcf4993265
refactor(core): move block collection to affine and implement as doc ( #9514 )
2025-01-04 06:28:55 +00:00
Saul-Mirone
4457cb7266
refactor(editor): rename doc to blocks ( #9510 )
2025-01-03 12:49:33 +00:00
Saul-Mirone
897c7d4284
refactor(editor): should not rely on doc collection type ( #9501 )
2025-01-03 06:30:27 +00:00
Saul-Mirone
8b6c81f76d
refactor(editor): reduce dependency to doc collection ( #9492 )
2025-01-03 01:59:25 +00:00
Saul-Mirone
edb5e1d87a
refactor(editor): job should not rely on doc collection directly ( #9488 )
2025-01-02 10:50:15 +00:00
Saul-Mirone
be387a6f33
refactor(editor): set readonly ( #9475 )
2025-01-02 04:02:15 +00:00
Saul-Mirone
09427e846e
refactor(editor): extract markdown adapter ( #9443 )
2024-12-31 04:13:02 +00:00
Saul-Mirone
e3b6841944
refactor(editor): reorg block specs ( #9421 )
2024-12-30 05:59:25 +00:00
Saul-Mirone
cbfe38b189
refactor(editor): add middlewares in shared adapter ( #9395 )
2024-12-27 12:32:44 +00:00
Saul-Mirone
6da10f9a93
refactor(editor): merge get surface util ( #9371 )
2024-12-27 09:42:13 +00:00
Saul-Mirone
1fbb462389
fix(editor): move insert link command to bookmark to remove ts ignore ( #9370 )
2024-12-27 09:09:29 +00:00
donteatfriedrice
835e7c434e
fix(editor): throttle render linked doc card when blockUpdated ( #9361 )
...
[BS-2223](https://linear.app/affine-design/issue/BS-2223/性能问题:linked-doc-card-view加载西藏的文档,app-直接挂了 )
2024-12-27 07:24:56 +00:00
Saul-Mirone
2b27d62b0e
refactor(editor): cleanup ts-expect-error ( #9369 )
2024-12-27 05:14:23 +00:00
Saul-Mirone
3ae3ae98c8
refactor(editor): extract edgeless legacy slots ( #9363 )
2024-12-27 04:22:52 +00:00
Mirone
37747369bc
fix(editor): missing edgeless crud piece ( #9347 )
2024-12-26 11:06:06 +00:00
donteatfriedrice
3996f96368
refactor(editor): extensionalize notion html adapter ( #9318 )
...
Part of [BS-2212](https://linear.app/affine-design/issue/BS-2212/adapter-extension化修复 )
2024-12-26 03:22:09 +00:00
Saul-Mirone
2ffd0e561c
refactor(editor): extract note block ( #9310 )
2024-12-26 01:30:44 +00:00
Saul-Mirone
16c59d96d9
refactor(editor): move menu context to components ( #9302 )
2024-12-25 07:34:04 +00:00
donteatfriedrice
62b930f336
fix(editor): notion html adapter for embed link block ( #9279 )
...
[BS-1745](https://linear.app/affine-design/issue/BS-1745/[bug]-导入的notion-youtube-embed-错误 )
2024-12-25 07:20:26 +00:00
Saul-Mirone
f5dea2a990
refactor(editor): remove legacy dnd config ( #9291 )
2024-12-24 13:59:36 +00:00
Saul-Mirone
989e318c57
chore: adjust tsconfig for blocksuite ( #9259 )
...
change `moduleResolution` to `bundler`
2024-12-23 13:10:55 +00:00
donteatfriedrice
a187f23452
chore: each block maintain its own adapter extension ( #9224 )
2024-12-23 07:54:59 +00:00
Saul-Mirone
3a82da0e5b
chore: fix eslint in blocksuite ( #9232 )
2024-12-20 16:48:10 +00:00
Mirone
30200ff86d
chore: merge blocksuite source code ( #9213 )
2024-12-20 15:38:06 +08:00