Skip to content

indent take effect for all lines not only first line. #3

@li-xiaoyin

Description

@li-xiaoyin
No description provided.

Activity

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

looking into it

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

Indentation works, not just in the first line.
Could you provide examples to clarify the issue please?

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

Could you provide delta string for us to look into?

li-xiaoyin

li-xiaoyin commented on Jan 11, 2021

@li-xiaoyin
Author

if the line is too long, all of auto wrapped lines will be take indent effect. i expect only first line has indent and other auto wrapped lines not.

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

Understood. But our behavior has to be the same as React Quill.

image

You can try playing it here

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

It seems that on the web React Quill is doing the same. Then we do not want to make any difference.

li-xiaoyin

li-xiaoyin commented on Jan 11, 2021

@li-xiaoyin
Author

ok thx . and can you give me some suggestion for implements this effect. like custom attributes and so on . how to do this.

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

You seem to want to add two spaces in front of the line?

li-xiaoyin

li-xiaoyin commented on Jan 11, 2021

@li-xiaoyin
Author

yes i attempt to add \t or space in the front of the line, but is looks not very well. The effect of Indent is good but i can not find the source code about that. how can i implements the effect as same as indent?

singerdmx

singerdmx commented on Jan 11, 2021

@singerdmx
Owner

I don't know

li-xiaoyin

li-xiaoyin commented on Jan 11, 2021

@li-xiaoyin
Author

Thank you all the same

16 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @singerdmx@li-xiaoyin

        Issue actions

          indent take effect for all lines not only first line. · Issue #3 · singerdmx/flutter-quill