Hi,
I upgraded Plone from 4.1 to 4.3.12. After that, the content of WYSIWYG Editor is not shown.
On the tab "Anzeigen" I have the following :
Text
RichTextValue object. (Did you mean .raw or .output?)
Can someone help me?
Hi,
I upgraded Plone from 4.1 to 4.3.12. After that, the content of WYSIWYG Editor is not shown.
On the tab "Anzeigen" I have the following :
Text
RichTextValue object. (Did you mean .raw or .output?)
Can someone help me?
Is this in a custom template? If so, you'll need to edit the template to add output
or raw
to the code that displays the text in the template.
Example:
Change <div tal:content="context/text">
to <div tal:content="context/text/output">
Hi,
no its not a custom template. It is the standard "display" plone view.
Called in
plone.app.dexterity.browser.item.pt
<tal:widget tal:replace="structure widget/@@ploneform-render-widget"/>
plone.app.z3cform.templates.widget.pt
<input type="text" tal:replace="structure widget/render" metal:define-slot="widget" />
So I have no possibility to add "output" or "text"
But after two days of debugging I have found the solution by chance.
The directives line was missing at the field definition
directives.widget(text=WysiwygFieldWidget)
text = RichText(
title=u"Text"
)
This was not neccessary in earlier Plone versions.