Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
ComponentsDedicated to Frontend Visual Components Javascript FrontendPull requests that update Javascript code
@ScottKemp

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ComponentsDedicated to Frontend Visual Components Javascript FrontendPull requests that update Javascript code

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /