Skip to content

[Bug]: Rich Text Control does not retain leading spaces #1987

Closed

Description

@ScottKemp

BUG_Rich Text Edit Leading Spaces.json

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

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.

Environment

2.7.3

Additional Information

No response

Activity

  1. added theissue type on Sep 9, 2025
  2. moved this to 🆕 New in Lowcoderon Sep 9, 2025
  3. added a commit that references this issue on Sep 16, 2025
  4. added a commit that references this issue on Sep 22, 2025
  5. adnanqaops commented on Sep 25, 2025

    @adnanqaops
    Collaborator

    @iamfaran , Tab spaces are working fine. But, manually adding spaces still have issues.

  6. moved this from 🆕 New to 🏗 In progress in Lowcoderon Sep 25, 2025
  7. added a commit that references this issue on Sep 25, 2025
  8. iamfaran commented on Sep 25, 2025

    @iamfaran
    Collaborator

    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

  9. added a commit that references this issue on Sep 29, 2025
  10. added
    Awaiting ReleaseTicket is Dev Complete. Awaiting for the Release.
    and removed on Oct 1, 2025
  11. moved this from 🏗 In progress to ✅ Done in Lowcoderon Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code

Type

Projects

  • Status
    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions