refactor(editor): extract bookmark block (#9304)

This commit is contained in:
Saul-Mirone
2024-12-25 11:22:29 +00:00
parent 5e2e58de09
commit d8bc145465
36 changed files with 167 additions and 35 deletions
@@ -1,3 +1,4 @@
import type { BookmarkBlockComponent } from '@blocksuite/affine-block-bookmark';
import type {
EmbedFigmaBlockComponent,
EmbedGithubBlockComponent,
@@ -31,7 +32,6 @@ import {
promptDocTitle,
} from '../../../../_common/utils/render-linked-doc.js';
import type { AttachmentBlockComponent } from '../../../../attachment-block/attachment-block.js';
import type { BookmarkBlockComponent } from '../../../../bookmark-block/bookmark-block.js';
import type { ImageBlockComponent } from '../../../../image-block/image-block.js';
import { duplicate } from '../../../edgeless/utils/clipboard-utils.js';
import { getSortedCloneElements } from '../../../edgeless/utils/clone-utils.js';