在Plone 5中安装TinyMCE作为插件后添加/编辑内容时出错

时间:2015-04-21 19:12:22

标签: tinymce plone

在plone 5中将TinyMCE作为插件安装后,在尝试添加或编辑具有丰富文本字段的内容时出现以下错误。

 Module Products.TinyMCE.browser.browser, line 127, in jsonConfiguration
  Module Products.TinyMCE.utility, line 959, in getConfiguration
  Module Products.CMFPlone.browser.ploneview, line 324, in bodyClass
  Module plone.app.layout.globals.layout, line 143, in bodyClass
AttributeError: 'View' object has no attribute 'getId'

 - Expression: "widget/@@ploneform-render-widget"
 - Filename:   ... form-1.0-py2.7.egg/plone/app/z3cform/templates/macros.pt
 - Location:   (98:81)
 - Source:     ... place="structure widget/@@ploneform-render-widget"/>
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Expression: "python:configuration_method(field=field)"
 - Filename:   ... roducts/TinyMCE/skins/tinymce/tinymce_wysiwyg_support.pt
 - Location:   (14:32)
 - Source:     ... uration_json python:configuration_method(field=field);
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments: 

Ps:complete traceback

0 个答案:

没有答案