revert: 字体兼容异常(#261)

This commit is contained in:
pipipi-pikachu 2024-03-25 15:33:43 +08:00
parent 650716a7ab
commit 6c73ac9a20

View File

@ -132,7 +132,7 @@ const fontname: MarkSpec = {
toDOM: mark => {
const { fontname } = mark.attrs
let style = ''
if (fontname) style += `font-family: "${fontname}";`
if (fontname) style += `font-family: ${fontname};`
return ['span', { style }, 0]
},
}