在 Plone 5 中安装 TinyMCE 作为附加组件后出现错误 adding/editing 内容

Error adding/editing content after install TinyMCE as add-on in Plone 5

在 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

TinyMCE 是 plone.app.widgets 的一部分,随 Plone 5 一起提供。无需在 Plone 5 中安装 Products.TinyMCE。Products.TinyMCE 仅适用于 Plone 3/4。