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