mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 16:22:32 +10:00
Fix mime attribute
This commit is contained in:
@ -53,7 +53,7 @@ export const Attachment = Node.create<AttachmentOptions>({
|
||||
"data-attachment-name": attributes.name,
|
||||
}),
|
||||
},
|
||||
extension: {
|
||||
mime: {
|
||||
default: undefined,
|
||||
parseHTML: (element) => element.getAttribute("data-attachment-mime"),
|
||||
renderHTML: (attributes: AttachmentAttributes) => ({
|
||||
|
||||
Reference in New Issue
Block a user