Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: alignment for elements using textAlign #390

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

jeffersonrabb
Copy link
Contributor

@jeffersonrabb jeffersonrabb commented Dec 21, 2020

All Submissions:

Changes proposed in this Pull Request:

Alignment changes in Heading and Paragraph blocks recently stopped working in emails, probably due to WordPress/gutenberg#26492. This branch converts textAlign attributes to align, resolving the issue.

How to test the changes in this Pull Request:

  1. On master create a Newsletter with a variety of paragraph and heading alignments.
  2. Send a test to yourself, observe the alignment choices are ignored.
  3. Switch to this branch, resend the test.
  4. Observe correct alignments in the email.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copy link
Contributor

@dkoo dkoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reproduced the bug, and confirmed that this fixes it.

@github-actions github-actions bot added [Status] Approved Ready to merge and removed [Status] Needs Review labels Jan 5, 2021
@jeffersonrabb jeffersonrabb merged commit 405c33e into master Jan 5, 2021
@jeffersonrabb jeffersonrabb deleted the fix/text-align-center branch January 5, 2021 03:21
matticbot pushed a commit that referenced this pull request Jan 12, 2021
## [1.16.2-alpha.1](v1.16.1...v1.16.2-alpha.1) (2021-01-12)

### Bug Fixes

* alignment for elements using textAlign ([#390](#390)) ([405c33e](405c33e))
* longer timeout for test send ([#389](#389)) ([0d18659](0d18659))
* **mjml:** error handling ([f47fdf4](f47fdf4))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.16.2-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Jan 12, 2021
## [1.16.2](v1.16.1...v1.16.2) (2021-01-12)

### Bug Fixes

* alignment for elements using textAlign ([#390](#390)) ([405c33e](405c33e))
* longer timeout for test send ([#389](#389)) ([0d18659](0d18659))
* **mjml:** error handling ([f47fdf4](f47fdf4))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.16.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants