【问题标题】:Tinymce: Spellchecker is not workingTinymce:拼写检查器不工作
【发布时间】:2013-03-27 12:24:20
【问题描述】:

我在我的应用程序中将spellchecker 用于tinymce。拼写检查器在内部使用Moxiecode.TinyMCE.dll

在我们上次实时更新之前它运行良好。突然它给出了错误说You must write ContentLength bytes to the request stream before calling [Begin]GetResponse

这是在弹出窗口中显示错误详细信息的堆栈跟踪

System.Net.HttpWebRequest.GetResponse() +6038604 Moxiecode.TinyMCE.SpellChecker.GoogleSpellChecker.SendRequest(String lang, String data) +762 Moxiecode.TinyMCE.SpellChecker.GoogleSpellChecker.CheckWords(String lang, String[] words) +197 Moxiecode.TinyMCE.SpellChecker.SpellCheckerModule.ProcessRequest(HttpContext context) +500 Moxiecode.TinyMCE.Web.HttpHandler.ProcessRequest(HttpContext context) +282 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 100 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.504

我搜索错误的解决方法,但没有找到任何解决方案。

任何人都可以为此建议解决方法。

【问题讨论】:

    标签: asp.net tinymce wysiwyg spell-checking


    【解决方案1】:

    我已经搜索了问题的解决方案,但我们的应用程序没有任何问题。基本上重点是,我们正在使用 Google 提供的拼写检查 Web 服务和我们的 WYSIWYG 编辑器。我发现,从昨天开始,该服务无法正常运行或被 Google 停止。

    这里有一些链接,其中包含一些关于用户体验的注释

    http://www.tinymce.com/develop/bugtracker_view.php?id=5793 http://www.tinymce.com/forum/viewtopic.php?id=30779

    【讨论】:

      【解决方案2】:

      您可以通过执行以下操作来启用浏览器的内置拼写检查器:

      tinymce.init({
          browser_spellcheck : true,
      });
      

      请务必从您的工具栏和插件列表中删除拼写检查器。

      【讨论】:

      • 当我在 2013 年 4 月问这个问题时,它是如何被复制的......而你发布的内容是在 2013 年 9 月被问到的 :)
      • 我认为这行不通。我不得不改用这个 sn-p:stackoverflow.com/a/17921909/195835
      • 嗨,Simon - 您使用的是哪个浏览器?我只需要支持当前的阵容,所以我发布的sn-p可能与旧浏览器不兼容?
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-02
      相关资源
      最近更新 更多