mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(core): image block use peek view workflow (#7329)
depends on https://github.com/toeverything/blocksuite/pull/7424
This commit is contained in:
@@ -36,7 +36,6 @@ import type { Map as YMap } from 'yjs';
|
||||
|
||||
import { AffineErrorBoundary } from '../../../components/affine/affine-error-boundary';
|
||||
import { GlobalPageHistoryModal } from '../../../components/affine/page-history-modal';
|
||||
import { ImagePreviewModal } from '../../../components/image-preview';
|
||||
import { PageDetailEditor } from '../../../components/page-detail-editor';
|
||||
import { TrashPageFooter } from '../../../components/pure/trash-page-footer';
|
||||
import { TopTip } from '../../../components/top-tip';
|
||||
@@ -311,14 +310,6 @@ const DetailPageImpl = memo(function DetailPageImpl() {
|
||||
</MultiTabSidebarBody>
|
||||
}
|
||||
/>
|
||||
|
||||
{editor?.host ? (
|
||||
<ImagePreviewModal
|
||||
pageId={doc.id}
|
||||
docCollection={docCollection}
|
||||
host={editor.host}
|
||||
/>
|
||||
) : null}
|
||||
<GlobalPageHistoryModal />
|
||||
<PageAIOnboarding />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user