TinyMCE工具栏在Plone 4.3升级后丢失 [英] TinyMCE Toolbar Missing After Plone 4.3 Upgrade

查看:98
本文介绍了TinyMCE工具栏在Plone 4.3升级后丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Plone网站从4.2升级到4.3.升级步骤基本上是:

I upgrade a Plone site from 4.2 to 4.3. The upgrade steps are basically:

  1. 运行install.sh以具有4.3环境

  1. running install.sh to have a 4.3 environment

将Data.fs复制到var/filestorage,并将自定义灵巧包复制到src

copy Data.fs to var/filestorage and custom dexterity package to src

在ZMI中运行升级

一切似乎都很好.但是,当我添加/编辑Page项目时,主体字段缺少TinyMCE工具栏.仅显示文本格式"下拉列表.注意:我确实看到工具栏试图渲​​染(出现前两个图标),但是失败并消失了.

Everything seems fine. But when I add/edit Page items, TinyMCE toolbar is missing for the body field. Only showing a Text Format dropdown. Note: I do see the toolbar trying to render (first 2 icons appear), but fail and disappear.

我想念什么?有提示吗?

What am I missing? Any hints?

推荐答案

没有确切的答案,但有一些建议.我有9个plone网站都运行相同版本的Plone(4.2),其中有一些TinyMCE可以完美运行,而另一些我根本无法运行.

No definitive answers, but a few suggestions. I have 9 plone sites all running the same version of Plone (4.2) and have some where TinyMCE works flawlessly, and others where I can't make it work at all.

  • 检查/portal_javascripts并确保您具有++ resource ++ plone.app.jquery.js(我认为您还需要jquery-integration.js和++ resource ++ plone.app.jquerytools.js,但我可能对这些有误,还有tiny_mce.js和tiny_mce_init.js).
  • 检查/portal_kss并确保您拥有++ resource ++ tinymce.kss/tinymce.kss
  • 检查/portal_css以获得++ resource ++ tinymce.stylesheets/tinymce.css
  • Check /portal_javascripts and make sure that you have ++resource++plone.app.jquery.js (I think you also need jquery-integration.js and ++resource++plone.app.jquerytools.js, but I may be wrong about those), as well as tiny_mce.js and tiny_mce_init.js).
  • check /portal_kss and ensure you have ++resource++tinymce.kss/tinymce.kss
  • check /portal_css for ++resource++tinymce.stylesheets/tinymce.css

发布此回复后,我开始看到您对工具栏的编辑.您确实需要为选择的浏览器使用开发工具(例如Firebug)并查看控制台.如果它开始显示然后无法完成,则肯定是控制台日志中有错误.

I saw your edit about the toolbar beginning to display after I posted this response. You really need to use the development tools for your browser-of-choice (e.g. Firebug) and look at the console. If it starts to display and then fails to finish, there's sure to be an error in the console log.

这篇关于TinyMCE工具栏在Plone 4.3升级后丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆