- First commit to issue fork.
- πΊπΈUnited States danlinn
Here's a patch that we are using to allow for HTML emails.
I'm using Drupal 9 and Group invite 2.0.1 module.
Configuration for this module allows to alter the text on email invitations: /admin/group/content/manage/groupname-group_invitation
I'm trying to use HTML in "Invitation e-mai" body, but the Group invite module replaces HTTML with "*" symbol.
So I've created hook_form_alter() in my custom module and putted this code:
$form['invitation_email']['invitation_body']['#type'] = 'text_format';
$form['invitation_email']['invitation_body']['#format'] = 'full_html';
Now CkEditor appears on Group invite configuration pages, but when I'm altering the text and pressing "Save configuration" I'm receiving the error:
InvalidArgumentException: The configuration property plugin_config.invitation_body.value doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 76 of /app/core/lib/Drupal/Core/Config/Schema/ArrayElement.php).
Maybe somebody could point me out how to solve this problem?
Or is the any way to use HTML in invitation emails?
Active
2.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Here's a patch that we are using to allow for HTML emails.