mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
feat: center peek view (#7073)
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">Kapture 2024-05-30 at 19.42.46.mp4</video>
This commit is contained in:
@@ -11,6 +11,20 @@ vi.mock('@blocksuite/presets', () => ({
|
||||
DocTitle: vi.fn(),
|
||||
EdgelessEditor: vi.fn(),
|
||||
PageEditor: vi.fn(),
|
||||
AIProvider: {
|
||||
slots: new Proxy(
|
||||
{},
|
||||
{
|
||||
get: () => ({
|
||||
on: vi.fn(),
|
||||
}),
|
||||
}
|
||||
),
|
||||
provide: vi.fn(),
|
||||
},
|
||||
AIEdgelessRootBlockSpec: {},
|
||||
AIParagraphBlockSpec: {},
|
||||
AIPageRootBlockSpec: {},
|
||||
}));
|
||||
|
||||
if (typeof window !== 'undefined' && HTMLCanvasElement) {
|
||||
Reference in New Issue
Block a user