Skip to content

v0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@cjg89 cjg89 released this 12 May 13:49
· 34 commits to master since this release

Bug Fixes:

  • Removed custom logic that inserted Athena float/alignment classes on <img> tags inserted via the Media Library in favor of using vanilla WordPress alignment classes (alignleft, aligncenter, alignright, alignnone). This update ensures that alignment changes made after the image is inserted in the post content are consistent with what's displayed on the site frontend, and fixes buggy behavior when using image/text alignment buttons in TinyMCE.

    In order to support this change, this update also adds custom styles to TinyMCE's stylesheet and inline styles on the frontend to ensure vanilla WP alignment classes take precedence over Athena alignment classes when both are present on an element.

    We recommend testing this update in a QA environment before upgrading in production to ensure alignment of existing images still works as expected. You may need to force-update alignment of some images after upgrading to this version.