You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Rich Text Control does not retain leading spaces #1987
The Rich Text control currently either doesn't save, or doesn load leading spaces. I am not sure which.
But when I have a rich text editor that a user can type into, I want to save into a database, then reload at a later time, I expect it to look the same as when they originally typed it in. This save/load process will wipe out any leading spaces they may have for formatting.
Expected Behavior
I expect spaces to be preserved. It is probably a bug with the ql-editor, but just letting you know
Steps to reproduce
See this attached module. Type in the first box. It will then simulate a save/load into the second box. Note that it will not retain any leading spaces.
Activity
lowcoder-org#1987 introduce delta for editor
Merge pull request #2003 from iamfaran/fix/1987-rich-editor
adnanqaops commentedon Sep 25, 2025
@iamfaran , Tab spaces are working fine. But, manually adding spaces still have issues.
[Fix]: lowcoder-org#1987 issuse when type really slow
iamfaran commentedon Sep 25, 2025
This has been fixed and new delta support has been added
usage -> {{richTextEditor.delta}} delta can be used if we want to keep the exact formatting
Merge pull request #2019 from iamfaran/fix/1987-editor