documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Example for change user default WYSIWYG editor is not working.

Open keul opened this issue 9 years ago • 0 comments

The here "Setting visual editor for all users" here https://5.docs.plone.org/develop/plone/members/member_profile.html#setting-visual-editor-for-all-users is someways using an attribute access to the member object.

I tried it today but it's not working. Calling member.getProperty('wysiwyg_editor') after the script run change nothing.

IMHO the best way for doing this is still using the old plone_utils tool:

plone_utils.setMemberProperties(member, wysiwyg_editor='TinyMCE')

keul avatar Sep 05 '16 11:09 keul