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

Allow multiline text insertion in chrome #1570

Merged

Conversation

nickvergessen
Copy link
Member

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

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]>
Copy link
Member

@danxuliu danxuliu left a 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.

@nickvergessen
Copy link
Member Author

I run Chromium 71, you have to copy a div-ed text block, e.g. #1561 (comment) to see the issues

Copy link
Member

@Ivansss Ivansss left a comment

Choose a reason for hiding this comment

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

Tested and works 👍

@nickvergessen
Copy link
Member Author

/backport to stable15

@nickvergessen nickvergessen merged commit fa29eca into master Feb 25, 2019
@nickvergessen nickvergessen deleted the bugfix/1561/multiline-insert-from-websites-in-chrome branch February 25, 2019 14:22
@backportbot-nextcloud
Copy link

backport to stable15 in #1579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants