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: Image block preserves alt text from media library #41839

Merged
merged 5 commits into from
Jun 23, 2022

Commits on Jun 20, 2022

  1. fix: Image block preserves alt text from media library

    When the alt text for a media item is present in the media library, that
    value should be copied into the Image block when inserted. This behavior
    avoids the need to re-enter the alt text for each image inserted into
    the post content.
    dcalhoun committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    5c27d6f View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. fix: Allow Media with and without alt text

    Previous code required an alt text value, which broken existing code.
    This overrides the method to support both contexts. It also updates
    existing code to use the same method of generating media throughout the
    source.
    dcalhoun committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    c33e5c5 View commit details
    Browse the repository at this point in the history
  2. test: Update alt text for demo editor test data

    Consistently setting the alt text for all platforms will likely help
    avoid confusion.
    dcalhoun committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    e0c59e0 View commit details
    Browse the repository at this point in the history
  3. test: Update outdated test fixture data

    The demo editor now returns an alt text for the test image media.
    dcalhoun committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    b0ecc17 View commit details
    Browse the repository at this point in the history
  4. docs: Update changelog

    dcalhoun committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    eb356b3 View commit details
    Browse the repository at this point in the history