简体   繁体   English

在 Edge chromium 浏览器中,Tiny MCE javascript 富文本编辑器 (v3.5.10) 在 MVC 4 web 应用程序中抛出错误,但在 IE11 中运行良好

[英]In Edge chromium browser Tiny MCE javascript rich text editor (v3.5.10) is throwing error in MVC 4 web application while its working fine in IE11

We are using Tiny MCE javascript rich text editor (v3.5.10) in our ASP.Net MVC4 web application.我们在 ASP.Net MVC4 web 应用程序中使用 Tiny MCE javascript 富文本编辑器 (v3.5.10)。 This editor was working fine in IE11.该编辑器在 IE11 中运行良好。 But in the edge chromium browser this editor is throwing exceptions.但是在 Edge Chromium 浏览器中,这个编辑器抛出异常。

Some issues to begin with are:首先要解决的一些问题是:

  1. Create a new proposal document – Here the HDF page is not behaving correctly and some tinyMCE editor controls are not becoming visible, some are not editable probably due to editor control initialization issues in Edge chromium browser.创建一个新的提案文档——这里的 HDF 页面运行不正常,一些 tinyMCE 编辑器控件不可见,有些不可编辑可能是由于 Edge chromium 浏览器中的编辑器控件初始化问题。
  2. Edit existing proposal information page - editor controls are not becoming editable probably due to initialization issues in Edge chromium browser.编辑现有提案信息页面 - 可能是由于 Edge chromium 浏览器中的初始化问题,编辑器控件无法编辑。

The following are the errors we see in the developer console-以下是我们在开发者控制台中看到的错误 -

This image contains details of javascript error we are getting The other error we see is – This is another js error we are getting in console此图像包含我们收到的 javascript 错误的详细信息我们看到的另一个错误是 –这是我们在控制台中收到的另一个 js 错误

Also we are attaching some code files for your quick reference.我们还附上了一些代码文件供您快速参考。 We can also setup a meeting to discuss issues.我们也可以安排一个会议来讨论问题。 Please let us know your suitable time to connect.请让我们知道您合适的连接时间。

Edge Chromium was released in Jan 2020 whereas TinyMCE 3.5 has not been updated since October 2014 so it would not be surprising that TinyMCE 3.5 would have issues with a browser that did not exist at the time it was released. Edge Chromium 于 2020 年 1 月发布,而 TinyMCE 3.5 自 2014 年 10 月以来一直没有更新,因此 TinyMCE 3.5 会出现发布时不存在的浏览器问题也就不足为奇了。

All that being said your two errors show issues with jquery and not TinyMCE so can you explain why you believe that stack trace related to TinyMCE?综上所述,您的两个错误显示问题与 jquery 而不是 TinyMCE 那么您能解释一下为什么您认为堆栈跟踪与 TinyMCE 相关吗?

We can see that you are using the Tiny MCE (v3.5.10) , if we try to refer to the official Tiny MCE v3 document for browser compatibility then we can notice that the Edge browser is not listed there.我们可以看到您正在使用Tiny MCE (v3.5.10) ,如果我们尝试参考官方 Tiny MCE v3 文档了解浏览器兼容性,那么我们会注意到那里没有列出Edge 浏览器 The Edge Chromium browser was also not exist at that time.当时还没有 Edge Chromium 浏览器。

So it can be possible that Tiny MCE v3 is not fully compatible with the Edge Chromium browser and because of this reason you are getting an errors in the Edge Chromium browser.因此, Tiny MCE v3可能与Edge Chromium浏览器不完全兼容,因此您在 Edge Chromium 浏览器中遇到错误。

In that case, I suggest you make a tests with the latest stable version (at present: 5.2.2) of the Tiny MCE .在这种情况下,我建议您使用Tiny MCE的最新稳定版本(目前:5.2.2)进行测试。

If we check the browser compatibility document for the latest Tiny MCE then we can see that the Edge browser is listed there.如果我们查看最新 Tiny MCE 的浏览器兼容性文档,那么我们可以看到Edge 浏览器列在那里。

So moving to the latest version of the Tiny MCE editor can help to fix the issue.因此,迁移到最新版本的 Tiny MCE 编辑器可以帮助解决这个问题。

I also suggest you to contact the Tiny MCE Support and take their opinion for the said issue.我还建议您联系 Tiny MCE 支持并听取他们对上述问题的意见。

It can really help to narrow down the issue.它确实可以帮助缩小问题的范围。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM