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

Ckeditor5: P.textarea(..., rows=x) Funktion wieder hergestellt #274

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

sschoeling
Copy link
Member

Ckeditor5 übernimmt standardmäßig nicht die Höhe des unterliegenden texarea Elements.

Der initializer Code versucht diese Information zu übergeben, kann aber aus dem "rows" Attribute nicht einfach die Höhe ableiten, und leider auch nicht auf die Renderinformationen von sowohl dem textare als auch dem Ckeditor zugreifen.

Stattdessen wird als Heuristik ~30px pro Zeile angenommen.

Ckeditor5 übernimmt standardmäßig nicht die Höhe des unterliegenden
texarea Elements.

Der initializer Code versucht diese Information zu übergeben, kann aber
aus dem "rows" Attribute nicht einfach die Höhe ableiten, und leider
auch nicht auf die Renderinformationen von sowohl dem textare als auch
dem Ckeditor zugreifen.

Stattdessen wird als Heuristik ~30px pro Zeile angenommen.
Copy link
Member

@bblessmann bblessmann left a comment

Choose a reason for hiding this comment

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

ok

@bblessmann bblessmann merged commit 784af9c into master Mar 6, 2024
1 check passed
@bblessmann bblessmann deleted the ticket_659_ckeditor_height_in_design40 branch March 6, 2024 10:34
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