让tinyMCE拼写检查器插件与IE6一起使用时出现问题

发布于 2024-11-30 11:09:09 字数 798 浏览 1 评论 0原文

首先我要说的是,我意识到这是一个渺茫的机会。我花了大约 7 个小时在这件事上,进展为零,也没有找到任何线索。在 IE6 中调试并不有趣。

我已经使用 ASP.NET 实现了tineMCE编辑器拼写检查插件,遵循本页上的说明: http://www.kelvinluck.com/2009/01/using-spell-checker-for-tinymce-with-net-on-iis/

在 IE8、Firefox、Chrome 中一切正常等

然而,一旦按下拼写检查按钮,IE6 就会挂起(仅当发现拼写错误时)。

它永远这样做... 此时它只会永远旋转 ajax 指示器。

我使用 fiddler 来比较 ajax 调用和 ie8 版本,效果很好。 POST 或响应没有区别。它生成包含两个版本中识别的所有不良单词的响应。

我使用 debugBar 来检查错误,得到的是“无效参数”,但行号总是不同,并且通常高达数百万,这很奇怪(这可能是因为我使用的是 IE Tester)。

我意识到这是没人喜欢的问题,但我几乎没有选择,我需要让它在 IE6 中工作,因为这是我们的客户遗憾地使用的。我非常有兴趣了解 IE6 的一些潜在调试方法或有关 tinyMCE 拼写检查器插件的详细信息。

Let me start off by saying I realize that this is a long shot. I've spent about 7 hours on this already making zero progress or finding any leads. Debugging in IE6 is no fun.

I have implemented the tineMCE editor spellcheck pluging using ASP.NET, following instructions on this page: http://www.kelvinluck.com/2009/01/using-spell-checker-for-tinymce-with-net-on-iis/

Everything works in IE8, Firefox, Chrome, etc

IE6, however, hangs up once the spell check button is pressed (only when spelling errors are found).

it does this forever...
At this point it just spins the ajax indicator forever.

I have used fiddler to compare the ajax calls with the ie8 version which is working great. There is no difference in the POST or the response. It generates the response with all the bad words identified in both versions.

I have used debugBar to check for errors, what I get is "Invalid Argument", but the line number is always different and in the high millions, typically, which is very weird (this might be because I'm using IE Tester).

I realize this is the kind of question nobody likes, but I'm pretty much out of options, and I need to get this to work in IE6, as this is what our client regretfully uses. I'd be very interested in hearing about some potential debugging methods for IE6 or details regarding tinyMCE's spellchecker plugin.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别挽留 2024-12-07 11:09:09

Microsoft 脚本调试器比IE测试仪。以下是使用它的一些技巧:

  • 如果收到错误警报,请查看源代码并将其复制到文本编辑器。找到行号并查看其前后是否存在语法错误,例如悬挂逗号、缺少分号或缺少括号。
  • 要防止出现错误时中断,请取消设置错误时中断切换按钮或按 Ctrl+Shift+E
  • 如果您希望仅当某个条件为真时才在该断点处暂停执行,请为该断点设置一个条件。要设置断点条件,请右键单击断点,选择 Condition... 选项,输入条件并单击 OK

使用 Fiddler 用于解决网络响应问题,以及 JScript 错误参考来帮助识别具体的 错误信息。

The Microsoft Script Debugger is much more reliable than IETester. Here's some tips to work with it:

  • If you get an error alert, view source and copy it to a text editor. Find the line number and look before and after it for a syntax errror, such as a hanging comma, missing semicolon, or missing parentheses.
  • To prevent breaking on an error, unset the Break on Error toggle button or press Ctrl+Shift+E.
  • If you want execution to pause at that breakpoint only when a certain condition is true, then set a condition for that breakpoint. To set a breakpoint Condition, right-click on the breakpoint, select the Condition... option, enter the condition and click OK

Use Fiddler for troubleshooting network response issues, and the JScript Error Reference to help identify the specific error message.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文