Problem/Motivation

Currently the swiftmailer template has classes for aligment defined as align-center, align-right, align-left, but the CKeditor has these classes set as text-align-center, text-align-right, text-align-left, so if we have a ckeditor textbox and we sent out an email, the text will not be correctly aligned.

Steps to reproduce

1. Install Open Social distro
2. Set alignment buttons on mail_html text format in the settings
3. Go to a group and send a bulk email to group members and use alignment to the right.
4. Check the email if the text is correctly aligned.

Proposed resolution

Add text-align-center, text-align-right, text-align-left classes to the default swiftmailer template.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork socialbase-3311113

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nkoporec created an issue. See original summary.

zanvidmar’s picture

Status: Needs review » Reviewed & tested by the community

Agami4 made their first commit to this issue’s fork.

  • Agami4 committed fd7e5b5 on 2.3.x authored by nkoporec
    Issue #3311113: Add support for CKEditor aligment classes in emails
    

  • Agami4 committed e1ff494 on 2.4.x authored by nkoporec
    Issue #3311113: Add support for CKEditor aligment classes in emails
    
agamich’s picture

Status: Reviewed & tested by the community » Fixed

Merged into 2.3.x branch and cherry-pick into 2.4.x branch

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.