-
Notifications
You must be signed in to change notification settings - Fork 438
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
Allow multiline text insertion in chrome #1570
Allow multiline text insertion in chrome #1570
Conversation
The div needs to be inline-block, so Chrome/Chromium correctly insert div-ed multi-line-text with new lines. Otherwise they are just chained together on posting. See https://stackoverflow.com/a/24689420 See #1561 Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not really review this, as I could not reproduce the original issue with Chromium 62 nor 68 neither in KDE nor IceWM; using inline-block
or block
makes no difference in my tests :-S
The only thing that changed with inline-block
was the vertical position of icons in the new message form, which I fixed with an extra commit.
I run Chromium 71, you have to copy a div-ed text block, e.g. #1561 (comment) to see the issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
/backport to stable15 |
backport to stable15 in #1579 |
The div needs to be inline-block, so Chrome/Chromium correctly insert
div-ed multi-line-text with new lines.
Otherwise they are just chained together on posting.
See https://stackoverflow.com/a/24689420
Fix #1561