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

Set Tinymce editor form min-height #2691

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 16, 2024

What is this pull request for?

Sites have set min_height on their custom tinymce config or on element definitions. Since Tinymce v6 now has a default height of 400 and a min-height of 100, but treats it as min-height (because of the resizable feature) we simply set the height to min-height for ease of upgrade.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

Sites have set min-height on their custom tinymce config
or on element definitions. Since Tinymce v6 now has a
default height of 400 and a min-height of 100, but treats
it as min-height (because of the resizable feature) we
simply set the height to min-height for ease of upgrade.
@tvdeyen tvdeyen added this to the 7.1 milestone Jan 16, 2024
@tvdeyen tvdeyen requested a review from a team January 16, 2024 08:31
@tvdeyen tvdeyen merged commit 822ea5b into AlchemyCMS:main Jan 16, 2024
34 checks passed
@tvdeyen tvdeyen deleted the tinymce-height-from-min-height branch January 16, 2024 09:02
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