ivarptr / yu-writer.site

A feature-rich, efficient text editor - Web Site
Apache License 2.0
1.2k stars 77 forks source link

0.5.3版本导出微信公众号格式文件异常 #618

Open randomjzy opened 3 years ago

randomjzy commented 3 years ago

Platform/操作系统类型 macOS、Windows

OS version/操作系统版本 macOS bigsur Windows 10

Application version/应用程序的版本号 0.5.3

Describe the bug/错误描述 导出html,格式选择微信公众号文章格式,导出时应用报异常,导出失败,异常信息如下(以下在mac下的报错,windows下也有一串报错信息):

Uncaught Exception:
ReferenceError: Node is not defined
at e.exports.replaceLfWithBR (/Applications/Yu Writer.app/Contents/Resources/app/src/script/mainprocess.js:1:169653)
at e.exports.convert (/Applications/Yu Writer.app/Contents/Resources/app/src/script/mainprocess.js:1:172337)
at standard.o.htmlFormat.blog.o.htmlFormat.wechat.o.htmlFormat.I.convert.e (/Applications/Yu Writer.app/Contents/Resources/app/src/script/mainprocess.js:1:55855)

Screenshots/截图(如果截图能帮助描述问题的话则提供,不需要的则忽略并删除该小节)

hemashushu commented 3 years ago

@randomjzy 谢谢反馈!