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

Media & text: Update the image replacement logic #62030

Merged
merged 21 commits into from
Jun 19, 2024

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    f84d248 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    0f4a432 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0865ac3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e67eaa View commit details
    Browse the repository at this point in the history
  4. Update the logic for inserting the featured image

    Use ´while´ to locate the correct ´figure´ tag depending on the block settings.
    Add support for the image fill setting.
    carolinan committed May 28, 2024
    Configuration menu
    Copy the full SHA
    884f732 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c326e19 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    45b2fb3 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    ee92f20 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    e60ac3d View commit details
    Browse the repository at this point in the history
  2. Replace the $image_tag variable and remove the CSS class on the img tag

    Neither the variable or the CSS class are needed, and they can be removed in favor of an empty
    `<img>` tag.
    carolinan committed May 31, 2024
    Configuration menu
    Copy the full SHA
    c62c46c View commit details
    Browse the repository at this point in the history
  3. Revert "Replace the $image_tag variable and remove the CSS class on t…

    …he img tag"
    
    This reverts commit c62c46c.
    carolinan committed May 31, 2024
    Configuration menu
    Copy the full SHA
    912ae47 View commit details
    Browse the repository at this point in the history
  4. Add an if statement around the figure tag and the image tag

    Add an if statement around the figure tag and the image tag, to make sure that the id is removed and the attributes are updated on the correct tags.
    carolinan committed May 31, 2024
    Configuration menu
    Copy the full SHA
    287b230 View commit details
    Browse the repository at this point in the history
  5. Try to fix PHP CS issues

    Move the closing parenthesis on the array that includes the figure tag name and id.
    Remove whitespace.
    carolinan committed May 31, 2024
    Configuration menu
    Copy the full SHA
    ff42bab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    117267c View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Update phpunit/blocks/render-block-media-text-test.php

    Co-authored-by: Ramon <ramonjd@users.noreply.github.com>
    carolinan and ramonjd authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    5efa53b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0402d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bb1e79 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    2d44777 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    a0b030d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    dbe8aeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b03266 View commit details
    Browse the repository at this point in the history