javascript - TinyMCE 编辑器不更新 IE11 中的隐藏字段

标签 javascript jquery

我正在使用 TinyMCE 作为 CMS 的 HTML 编辑器。

这一直运行良好,表单提交了正确的数据,就像在 Chrome 中一样。它也在 IE 11 中正确显示。但是,如果我使用 IE11 提交表单,浏览器不会从表单发布数据。

检查源代码,隐藏字段不会被输入到文本框中的新数据填充。我找不到这方面的任何信息,而且它发生在多台计算机上。

有没有人对 TinyMCE 有足够的了解,知道问题可能出在哪里?

对于那些不知道的人:

TinyMCE, also known as the Tiny Moxiecode Content Editor, is a platform-independent web-based JavaScript/HTML WYSIWYG editor control, released as open source software under the LGPL by Moxiecode Systems AB. It has the ability to convert HTML textarea fields or other HTML elements to editor instances. It offers HTML formatting tools, like bold, italic, underline, both ordered and unordered lists, different types of alignments, in-line placement of images and videos, etc. It is highly useful for those who want to allow their users to edit HTML documents online. The different options can be configured at the time of integration with a project, which improves the flexibility of a project.

它的工作原理是用 iframe 替换 textarea 字段,为用户提供许多 HTML 编辑控件,并将此数据放入允许提交数据的隐藏文本字段中。

最佳答案

我已经通过降级到 TinyMCE 3 来“修复”IE11 兼容性问题。

关于javascript - TinyMCE 编辑器不更新 IE11 中的隐藏字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27502394/

相关文章:

javascript - OS X JavaScript for Applications可以识别哪些剪贴板类型的类字符串?

javascript - 如何在另一个html页面中渲染html部分?

javascript - Keydown 在第一次按键和随后的按键后暂停

javascript - 有没有更好的方法来处理相同的回调函数但不同的输入参数?

jquery - jqGrid 的 Coldfusion + JSON 问题

javascript - 当我按下 shift+l 键时如何在 html 中加载锁定屏幕

javascript - Angular,如何通过单击按钮隐藏表格行

javascript - 使用来自 AngularJS 的 Web API JSON 响应 - 错误 : expected and array but got an object

javascript - 删除属性在node.js中不起作用

javascript - 为什么我在实现自动完成功能时收到 "Object does not support autocomplete jquery method"运行时错误?