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 minHeight styling in createRichTextBlock #3260

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

juliawegmayr
Copy link
Contributor

@juliawegmayr juliawegmayr commented Jan 23, 2025

Description

createRichTextBlock accepts a number value for minHeight, which is used for styling in the RTE. CSS needs a string value including the unit.

The minHeight variable is now used in a string including 'px' in CSS, so that the minHeight value is applied correctly.

Acceptance criteria

Screenshots/screencasts

Tested by passing minHeight: 500 to createRichTextBlock

Before After
Screenshot 2025-01-23 at 11 56 16 Screenshot 2025-01-23 at 11 55 47

Open TODOs/questions

  • Add changeset

Further information

@juliawegmayr juliawegmayr marked this pull request as ready for review January 23, 2025 11:02
@auto-assign auto-assign bot requested a review from johnnyomair January 23, 2025 11:02
.changeset/witty-onions-check.md Outdated Show resolved Hide resolved
Co-authored-by: Johannes Obermair <[email protected]>
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.

2 participants