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
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?
Activity
singerdmx commentedon Jan 11, 2021
looking into it
singerdmx commentedon Jan 11, 2021
Indentation works, not just in the first line.
Could you provide examples to clarify the issue please?
singerdmx commentedon Jan 11, 2021
Could you provide delta string for us to look into?
li-xiaoyin commentedon Jan 11, 2021
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 commentedon Jan 11, 2021
Understood. But our behavior has to be the same as React Quill.
You can try playing it here
singerdmx commentedon Jan 11, 2021
It seems that on the web React Quill is doing the same. Then we do not want to make any difference.
li-xiaoyin commentedon Jan 11, 2021
ok thx . and can you give me some suggestion for implements this effect. like custom attributes and so on . how to do this.
singerdmx commentedon Jan 11, 2021
You seem to want to add two spaces in front of the line?
li-xiaoyin commentedon Jan 11, 2021
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 commentedon Jan 11, 2021
I don't know
li-xiaoyin commentedon Jan 11, 2021
Thank you all the same
16 remaining items