Reputation: 107
After installing TinyMCE as add-on in plone 5, I got the following error when trying to add or edit content that has rich text field.
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:
Upvotes: 0
Views: 111
Reputation: 1347
TinyMCE is part of plone.app.widgets and shipped with Plone 5. There is no need to install Products.TinyMCE in Plone 5. Products.TinyMCE is just for Plone 3/4.
Upvotes: 3