tinymce3tinymceCompress.aspx 中的 Umbraco IE 错误
当使用 Umbraco 的最新发布版本(4.0.4.2)时,tinymce3 控件无法在 umbraco 后台显示/加载。
相反,会显示 JavaScript 错误:
--- 错误内容 --- 消息:参数无效。 线路:1 字符:14609 代码:0
URI:http://example.com/umbraco/plugins/tinymce3/tinymce3tinymcecompress.aspx?rnd =5c8e3f37-f32a-481f-a795-c4f6bc57057e&module=gzipmodule&themes=umbraco&plugins=contextmenu,table,umbracomacro,paste,inlinepopups,media,umbracocss,advimage,advlink,noneditable&languages=en
其他一切在所有其他浏览器中运行良好,但在 IE 6+7+8 中显示此 JS 错误。
服务器信息: 视窗2008 IIS 7 经典应用程序池(也尝试过集成应用程序池)
帮助appricated,已尝试经过认证的Umbraco公司(他们安装并设置了解决方案,但他们有点放弃了,我们只是在前6个客户启动并运行后才发现问题在单个安装上)
When using the latest Release version (4.0.4.2) of Umbraco, the tinymce3 control fails to show/load in the backoffice of umbraco.
Instead a JavaScript error is shown:
--- ERROR CONTENT ---
Message: Invalid argument.
Line: 1
Char: 14609
Code: 0
URI: http://example.com/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=5c8e3f37-f32a-481f-a795-c4f6bc57057e&module=gzipmodule&themes=umbraco&plugins=contextmenu,table,umbracomacro,paste,inlinepopups,media,umbracocss,advimage,advlink,noneditable&languages=en
Everything else runs fine in all other browsers, but in IE 6+7+8 this JS error shows.
Server info:
Windows 2008
IIS 7
Classic App Pool (Have also tried integrated app pool)
Help appriciated, have tried acertified Umbraco company (they installed and have setup the solution, but they kind of gave up, and we only discovered the issue after the first 6 customers was up and running on the single installation)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来 Umbraco 添加了类似“100,200”的宽度,其中 100 是 Richtext Editor 数据类型上定义的值,值 200 是tinyMceConfig.config 文件中定义的值。
在我的例子中,我设置了“100,100%”,因为我希望 Umbraco 后端的富文本编辑器的宽度为 100%。在深入研究 IE 8 的调试器、Umbraco 源代码和tinymce 源代码后,我终于找到了解决方案。
解决方案是将以下内容添加到tinyMceConfig.config中。
记住配置键括号之间“宽度”后面的空格至关重要,否则javascript错误会破坏IE 6 + 7 + 8中的页面。
我希望这会帮助其他人。
附言。
我还找到了相同解决方案/错误的辅助参考:
http://forum.umbraco.org/ yaf_postst8108_Quick-tip-set-Richtext-editor-at-100-width.aspx
It seems like Umbraco adds the width like "100,200", where 100 is the value defined on the Richtext Editor datatype, and the value 200 is the value defined in the tinyMceConfig.config file.
In my case I had "100,100%" because I wanted to have a width of 100% on the Rich text editor in the back-end of Umbraco. I finally found the solution after digging a little into the debugger of IE 8, the Umbraco source and tinymce source.
The solution is to add the following to the tinyMceConfig.config
It is CRITICAL to remember the space after the "width" between the config key brackets, else the javascript bug breaks the page in IE 6+7+8.
I hope this will help others.
PS.
I also found a secondary reference for the same solution/error:
http://forum.umbraco.org/yaf_postst8108_Quick-tip-set-Richtext-editor-at-100-width.aspx