开发者

new PloneFormGen Form Folder has Plain Text Format for Prologue and Epilogue

When I create a new PFG Form Folder, the Prologue and Epilogue textareas come up with a default Text Format = Plain Text. Is this intended?

If the user's default text editor is TinyMCE (both in /personalize_form and in portal_memberdata wysiwyg_editor), I would expect the Prologue and Epilogue to behave the same as a new Page content type, which comes up with TinyMCE.

When I look at Products.PloneFormGen-1.5.5 in content/form.py, the TextField('formPrologue') has a default_content_type开发者_开发百科 = zconf.ATDocument.default_content_type, so it would seem that it would behave the same way as a normal Document content type.

Thanks!


This is a known issue due to a bad interaction between a bug in Archetypes and some changes to how the mimetype is determined in recent releases of TinyMCE. If you're on Plone 4 you can upgrade to Products.Archetypes 1.6.6 or later to fix it (this Archetypes release is included in the latest Plone release, 4.0.5).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜