From a3b3d1c9c7a8a73cdac83517df9a9333f42c8a7f Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 16 May 2023 01:13:31 +0100 Subject: [PATCH] refactor: video text --- src/app/dashboard/[subdomain]/editor/page.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/dashboard/[subdomain]/editor/page.tsx b/src/app/dashboard/[subdomain]/editor/page.tsx index 62c35365..c03db2ba 100644 --- a/src/app/dashboard/[subdomain]/editor/page.tsx +++ b/src/app/dashboard/[subdomain]/editor/page.tsx @@ -406,7 +406,11 @@ export default function SubdomainEditor() { } else if (file.type.startsWith("video/")) { view?.dispatch( view.state.replaceSelection( - `\n\n`, + ` + +`, ), ) } else if (file.type === "text/plain") {