From ef2a6be59b7cd194405b7412d48d4295d04aded4 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Thu, 22 May 2025 12:51:25 -0700 Subject: [PATCH] fix attachmentId render --- packages/editor-ext/src/lib/video/video.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ext/src/lib/video/video.ts b/packages/editor-ext/src/lib/video/video.ts index f86659f0..dfd50c86 100644 --- a/packages/editor-ext/src/lib/video/video.ts +++ b/packages/editor-ext/src/lib/video/video.ts @@ -57,7 +57,7 @@ export const TiptapVideo = Node.create({ default: undefined, parseHTML: (element) => element.getAttribute("data-attachment-id"), renderHTML: (attributes: VideoAttributes) => ({ - "data-attachment-id": attributes.align, + "data-attachment-id": attributes.attachmentId, }), }, width: {