question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't add space at the end of a line (only Firefox)

See original GitHub issue

Hi! I’ve just found a weird bug! Whenever I type a white space, it gets stripped out automatically. So I I want to write Hey man, it will render as Heyman. However, when you try to add a space, but not at the end of the line, like adding “my” between “Hey” and “man”. Then it works and renders Hey my man. It works fine on all other browsers, except Firefox for some reason. Any help would be appreciated 😃

Platforms: Firefox 79.0 (64-bit) - Mac Version: 1.3.7

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
derrabaukecommented, May 23, 2022

Also getting this on Firefox Dev 80.0b7 (Mac) w/ quill-emoji module Trimming out spaces while inputing text

Edit: I’ve managed to fix it. It looks like this happens if you forget to include quill.core.css in the project.

What @tjw0051 proposed, didn’t work in my case. But there had to be something in the quill.core.css which fixed it for him, and I think it is the white-space: pre-wrap rule.

In my case, I had a custom styling which applied white-space: normal to the .ql-editor selector. After changing it to white-space: pre-wrap it works again as intended on all major browsers.

2reactions
tjw0051commented, Aug 21, 2020

Also getting this on Firefox Dev 80.0b7 (Mac) w/ quill-emoji module Trimming out spaces while inputing text

Edit: I’ve managed to fix it. It looks like this happens if you forget to include quill.core.css in the project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: Space bar not working in Firefox - April 2022 - Page 5
Whenever I type text and input space with space bar the space disappears immediately, so if I continue to type the words run...
Read more >
line spacing wrong in part of page | Firefox Support Forum
In the right pane of Google News, line spacing is too close so that text is vertically overlapping. The rest of the page...
Read more >
Firefox line spacing, and window title vertical size.
Please provide an option to revert to the smaller line spacing and the original smaller top window title vertical size.
Read more >
How whitespace is handled by HTML, CSS, and in the DOM
Explanation · First, all spaces and tabs immediately before and after a line break are ignored so, if we take our example markup...
Read more >
How do i remove the upper space between opened tabs and ...
I have managed to fix it. So whoever encounters this problem this is how you fix it: go to the right upper corner...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found