mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
revert: 字体兼容异常(#261)
This commit is contained in:
parent
650716a7ab
commit
6c73ac9a20
@ -132,7 +132,7 @@ const fontname: MarkSpec = {
|
|||||||
toDOM: mark => {
|
toDOM: mark => {
|
||||||
const { fontname } = mark.attrs
|
const { fontname } = mark.attrs
|
||||||
let style = ''
|
let style = ''
|
||||||
if (fontname) style += `font-family: "${fontname}";`
|
if (fontname) style += `font-family: ${fontname};`
|
||||||
return ['span', { style }, 0]
|
return ['span', { style }, 0]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user