解决因微信公众平台编辑器更新而导致的新公式插入失败的问题(#11)。 #12
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修改说明
我按照 Issue #11 中 @Jw-23 的建议修改了
mpm.inject.js
文件中的第27行代码。修改之后,我在 Microsoft Edge 上可以正常插入新公式了。另外,我还修改了
manifest.json
文件中的一个参数名称background.service_worker
。按照 MDN Web Docs: Browser extensions 中的说明,background
的参数名称是service_worker
。现有问题
每次重新加载公众号文章编辑页面时,公式插件总是会产生下图中的错误。但这个错误好像不影响插件的使用。