Fix mime attribute
This commit is contained in:
parent
7dc37b933f
commit
77b541ec71
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export const Attachment = Node.create<AttachmentOptions>({
|
||||||
"data-attachment-name": attributes.name,
|
"data-attachment-name": attributes.name,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
extension: {
|
mime: {
|
||||||
default: undefined,
|
default: undefined,
|
||||||
parseHTML: (element) => element.getAttribute("data-attachment-mime"),
|
parseHTML: (element) => element.getAttribute("data-attachment-mime"),
|
||||||
renderHTML: (attributes: AttachmentAttributes) => ({
|
renderHTML: (attributes: AttachmentAttributes) => ({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue