我們有一些Plone 4.3實例,其中一個有9個Plone站點,每個站點都有獨特的Diazo主題。其中之一,從主題視圖(端口:8081)編輯時,TinyMCE不再顯示。在Diazo主題的Plone網站上缺少TinyMCE?
在 「文本格式」 菜單,選項有:HTML,紡織,和Plone輸出濾波器HTML。在左下方還有「編輯時不帶可視化編輯器」鏈接,通常只有當TinyMCE可見時纔會顯示。 「網站設置」和「個人首選項」中的「默認編輯器」均設置爲TinyMCE。另外,似乎所有TinyMCE相關的.js文件都已正確加載而沒有錯誤。
我認爲這個問題發生在我昨天跑出buildout來安裝最新的PloneHotfix之後。
我在網上發現的最接近的東西是this on Nabble。我問瑞克有關portal_setup的步驟,但並沒有改變這個問題。我重新編譯並將其固定到舊版本的TinyMCE上,以便檢查,但沒有骰子。
奇怪的是這也影響另一個重氮主題網站,但不是其他七個。我在一個乾淨的新開發服務器上測試了這個:做了一個全新的Plone站點,增加了Diazo主題,並附上了問題網站的主題。出現同樣的問題。我猜這是根據他們在Nabble線程上所說的內容加載的.js命令的相關內容。
該問題的網站是:http://169.237.124.22:8081/CCUH/
和http://169.237.124.22:8080/CCUH/
是未受歡迎的一面。
這裏還使用了XML,以防萬一。
<rules
xmlns="http://namespaces.plone.org/diazo"
xmlns:css="http://namespaces.plone.org/diazo/css"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- CCUH XML -->
<!--Head-->
<copy css:content="html" css:theme="html" attributes="lang dir"/>
<copy css:content="head base" css:theme="head base"/>
<replace css:content="head title" css:theme="head title"/>
<before css:content="head style, head link, head script, head meta" css:theme-children="head"/>
<theme href="index.html" css:if-content="#visual-portal-wrapper" />
<merge attributes="class" css:content="body" css:theme="body" />
<copy attributes="id dir" css:content="body" css:theme="body" />
<copy css:theme=".maintext" css:content="#content"/>
<prepend css:content="#edit-bar" css:theme=".maintext" />
<replace css:theme="nav.topnav li" css:content="#portal-globalnav li" />
<copy attributes="href" css:theme=".home-logo" css:content="#portal-logo" />
<replace css:theme=".slideshow" css:content=".portlet-static-nivo" />
<replace css:theme=".portlets-right" css:content="#portal-column-two .visualPadding" />
<copy css:theme="footer" css:content="#portal-footer" />
<!-- Scripts via Control Pannel -->
<copy css:content="#visual-portal-wrapper script" css:theme="#footer-js" />
</rules>
不幸的是TinyMCE的是已經在每個主題層箱,但仍然沒有顯示。雖然謝謝! – feesh