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

when transforming asset, adjust width and hight too #165

Merged
merged 2 commits into from Feb 21, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Feb 13, 2024

Description

When transforming an image via the TransformImageCommand, update the width and height attributes to match the transformed size.

CKEditor insists on keeping those attributes around. Removing them worked well for me, too, but I don’t want to go against CKEditor too much, so I opted for updating those values.

Related issues

#94

[ci skip]
@brandonkelly brandonkelly merged commit 73278e6 into main Feb 21, 2024
@brandonkelly brandonkelly deleted the bugfix/94-transformimagecommand-adjust-dimensions branch February 21, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants