diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/AudioBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/AudioBlock.tsx
index 1a9aea077..127858fbe 100644
--- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/AudioBlock.tsx
+++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/AudioBlock.tsx
@@ -94,6 +94,9 @@ const AudioToExternalHTML = ({
export const AudioBlock = createReactBlockSpec(
createAudioBlockConfig,
(config) => ({
+ meta: {
+ fileBlockAccept: ['audio/*'],
+ },
render: (props) => ,
parse: audioParse(config),
toExternalHTML: (props) => ,
diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/VideoBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/VideoBlock.tsx
index 7f775e6cd..0140ad4e8 100644
--- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/VideoBlock.tsx
+++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/VideoBlock.tsx
@@ -97,8 +97,12 @@ const VideoToExternalHTML = ({
export const VideoBlock = createReactBlockSpec(
createVideoBlockConfig,
(config) => ({
+ meta: {
+ fileBlockAccept: ['video/*'],
+ },
render: (props) => ,
parse: videoParse(config),
toExternalHTML: (props) => ,
+ runsBefore: ['file'],
}),
);