Commit 15c5f20c authored by rockyl's avatar rockyl

fontStyle

parent d78951e4
......@@ -24,3 +24,5 @@ document.body.appendChild(img);
* 仅支持img和text两种元素
* 不支持transform变换
* 文本仅只是Arial字体,建议给元素设置为Arial字体
* 不支持z-index样式
* 不支持所有滤镜
......@@ -4,12 +4,12 @@
const styleKeys = [
'fontSize',
'fontFamily',
'fontWeight',
'textAlign',
'color',
'wordWrap',
'borderRadius',
'fontStyle',
]
export function parseDom(el: HTMLElement = document.body) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment