在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: