-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
问题描述
输入新公式并点击【插入】之后,公式编辑器正常关闭,但没有任何公式或字符插入到主页面。
复制以前插入的可以正常显示的公式之后,点击公式后可以进行修改。即,修改公式的功能是正常的。
版本和环境
插件版本:0.2.1
浏览器:Microsoft Edge,Google Chrome
错误报告
浏览器控制台的错误提示,如下:
Error inserting formula: Error: not import language file
at Object.l [as getLang] (li~web1_web2_common_…9894ed.js:10:208356)
at Object.<anonymous> (li~web1_web2_common_…9894ed.js:10:306270)
at h (li~web1_web2_common_…9894ed.js:10:189963)
at new <anonymous> (li~web1_web2_common_…9894ed.js:10:190608)
at new <anonymous> (li~web1_web2_common_…9894ed.js:10:468136)
at Object.getEditor (li~web1_web2_common_…9894ed.js:10:469349)
at mpm-inject.js:37:39
我试着找了找报错的原因,好像是mpm.inject.js中用于插入新公式的这行代码引起的:
window.UE.getEditor('js_editor').execCommand('insertHTML', '\xA0' + event.data.text + '\xA0');
但我也不会修改,希望大神早日修复这个错误!
Metadata
Metadata
Assignees
Labels
No labels