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(shortcode): allow passing html attributes to image #477

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mloberg
Copy link
Owner

@mloberg mloberg commented Jan 21, 2025

Any time we wanted to apply a class to an image, we'd have to add that class to Tailwind's safelist. By passing arbitrary html attributes, it will catch these and we don't need to add them to our list

Any time we wanted to apply a class to an image, we'd have to add that
class to Tailwind's safelist. By passing arbitrary html attributes, it
will catch these and we don't need to add them to our list
@mloberg mloberg marked this pull request as ready for review January 21, 2025 03:53
@mloberg mloberg merged commit 46fbd98 into main Jan 21, 2025
2 checks passed
@mloberg mloberg deleted the fix/image-class-tailwind branch January 21, 2025 03:53
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.

1 participant