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

IBX-9296: Custom CSS classes not working for "embedimage" #197

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

GrabowskiM
Copy link
Contributor

@GrabowskiM GrabowskiM commented Dec 9, 2024

🎫 Issue IBX-9296

Description:

Custom class was there under custom-classes attribute, but it was in form of ibexa-embed-type-image {custom_class} so cleanClasses method was removing this whole attribute (as ibexa-embed-type-image wasn't in custom classes options config and all custom-classes had to be matched)

I've added to config info about this component class and before any checks I remove it from attribute.
Also, I have to remove it later manually from model attributes, as otherwise ibexa-embed-type-image is duplicated - probably comes from container declaration and from custom-classes, co one of these origins had to be cleared.

For QA:

Documentation:

Copy link

sonarqubecloud bot commented Dec 9, 2024

@barbaragr barbaragr self-assigned this Dec 17, 2024
@barbaragr
Copy link

I have noticed differences in display for testing on PR vs testing with patch as below:

  • for PR:
Screenshot 2024-12-17 at 13 47 05
  • for patch:
Screenshot 2024-12-17 at 13 49 11

Copy link

@barbaragr barbaragr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've put an issue in comment above.

@dew326 dew326 merged commit ef64b0a into 4.6 Jan 9, 2025
23 checks passed
@dew326 dew326 deleted the IBX-9296 branch January 9, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants