Problem/Motivation

When cropping an Image block, there's an option to rotate the image, but that's not currently supported even though there's UI for it.

The relevant WordPress function for this appears to be here.

It might also be useful to try and support all the other future modifiers within the WP image editor class.

Steps to reproduce

Crop, rotate and apply an existing Image block. The rotation won't be taken into account.

Proposed resolution

Implement missing API.

Remaining tasks

Provide issue fork/patch.

User interface changes

N/A

Issue fork gutenberg-3462581

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

codebymikey created an issue. See original summary.

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

vaza18’s picture

Status: Active » Needs review

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

  • marcofernandes committed be77ce1f on feature/wp-scripts-packages-build authored by vaza18
    fix: #3462581 Image rotations don't currently work
codebymikey’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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