Skip to content

Commit

Permalink
revert: 字体兼容异常(#261
Browse files Browse the repository at this point in the history
  • Loading branch information
pipipi-pikachu committed Mar 25, 2024
1 parent 650716a commit 6c73ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/prosemirror/schema/marks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
},
}
Expand Down

0 comments on commit 6c73ac9

Please sign in to comment.