From 6dc1fefa33d8e4e49f3055811dad4219b0aa4aa9 Mon Sep 17 00:00:00 2001 From: fundon Date: Mon, 17 Feb 2025 06:50:02 +0000 Subject: [PATCH] fix(editor): video style in edgeless (#10198) ### Before ![Screenshot 2025-02-14 at 17.51.29.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/202ce9f9-3dc9-4063-aab9-68a22d5ee5ff.png) ### After ![Screenshot 2025-02-14 at 17.51.46.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/47fd729b-cad3-4ea1-8f9e-eefbc2652f88.png) --- blocksuite/affine/block-attachment/src/embed.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/blocksuite/affine/block-attachment/src/embed.ts b/blocksuite/affine/block-attachment/src/embed.ts index 0e50e7514..69bb46945 100644 --- a/blocksuite/affine/block-attachment/src/embed.ts +++ b/blocksuite/affine/block-attachment/src/embed.ts @@ -151,7 +151,13 @@ const embedConfig: AttachmentEmbedConfig[] = [ check: (model, maxFileSize) => model.type.startsWith('video/') && model.size <= maxFileSize, template: (_, blobUrl) => - html``, + html``, }, { name: 'audio',