The new PloneFormGen form form has a simple text format for prolog and epilogue

When I create a new PFG form folder, the default text format = plain text appears in the Prologue and Epilogue text areas. Is this intended?

If the default text editor for the user is TinyMCE (both in / personalize _form and portal_memberdata wysiwyg_editor), I would expect Prologue and Epilogue to behave just like the new page content type that comes with TinyMCE.

When I look at Product.PloneFormGen-1.5.5 in content / form.py, TextField ('formPrologue') is set to default_content_type = zconf.ATDocument.default_content_type, which means it will behave just like the regular type of document content.

Thank!

+3
source share
1 answer

This is a known issue due to poor interaction between a bug in Archetypes and some changes in how mimetype is defined in recent releases of TinyMCE. If you are on Plone 4, you can upgrade to Product.Archetypes 1.6.6 or later to fix this (this release of Archetypes is included in the latest version of Plone, 4.0.5).

+3
source

All Articles