From: mozilla/notes#262
[Affected versions]:
[Affected Platforms]:
[Prerequisites]:
[Steps to reproduce]:
[Expected result]:
[Actual result]:
[Notes]:

Hi, is there any solution for this issue or that issue #1751 @jhchen
I tried this solution:
.ql-editor {
white-space: normal !important;
}
it seems fixed this problem, coz this style rule will turn every space key stroke into [space] in the html. (there is a space in [space], example below)
<p> fdfsdfdsf</p>
but, when you put content that contains [space] in the editor with dangerouslyPasteHtml, the [space] will become the ending space is removed. example below:
<p> fdfsdfdsf</p>
Is there any solution for this, can I turn this remove-every-space feature off?
thx @jhchen @byronm
i already tried white-space:normal , but its not working
Most helpful comment
I tried this solution:
it seems fixed this problem, coz this style rule will turn every
spacekey stroke into [space]in the html. (there is a space in [space], example below)but, when you put content that contains
[space]in the editor withdangerouslyPasteHtml, the [space]will become the ending space is removed. example below:Is there any solution for this, can I turn this
remove-every-spacefeature off?thx @jhchen @byronm