mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 09:41:11 +10:00
fix attachmentId render
This commit is contained in:
@ -57,7 +57,7 @@ export const TiptapVideo = Node.create<VideoOptions>({
|
||||
default: undefined,
|
||||
parseHTML: (element) => element.getAttribute("data-attachment-id"),
|
||||
renderHTML: (attributes: VideoAttributes) => ({
|
||||
"data-attachment-id": attributes.align,
|
||||
"data-attachment-id": attributes.attachmentId,
|
||||
}),
|
||||
},
|
||||
width: {
|
||||
|
||||
Reference in New Issue
Block a user