plone / plone/documentation

Example for change user default WYSIWYG editor is not working.

Open
#693 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

99 tag: backend
Dominant language
Makefile
Stars
106
Forks
190
Avg merge
3d 2h
Merged PRs (30d)
1

Description

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')

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the “Setting visual editor for all users” section in the linked member_profile.html page and compare its attribute access with the reported getProperty behavior. Confirm the documented approach and update the example so it reflects the working member-property method; done means the page no longer recommends a non-working procedure.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.