Adds an option to disable multiple indentations in lists#364
Adds an option to disable multiple indentations in lists#364YoX89 wants to merge 1 commit intorajdeep:mainfrom
Conversation
|
@YoX89, can you please explain what your intension is with this PR as I am not sure if I understand it correctly looking at the snapshots in the PR. Both the snapshot 1 and 2 are same. Do you intend to create a feature that allows you to disable indenting if more than 1 list item is selected or if it is being indented by more than 1 level with respect to parent? Latter one is already implemented and expected to work. |
|
My PR is to limit indentation so it's not possible to indent any list more than the first level. So if your indentation formatting is 25 it will only ever be indented 25 as a maximum. Not 50, 75 etc. Only one level of lists. Is that already possible? |
|
@YoX89, that's correct. This is the default behaviour. See the demo below that I just verified on iOS 18 simulator where I am pressing tab key multiple times at each level: To ensure that you are getting the correct behaviour, please use |
|
@YoX89, for reference, this is the code that prevents indentation beyond 1 level. |
|
Sorry I wasn't being clear! I don't mean only one indentation compared to its parent. I don't want any indentation at all. In your example above there are 4 levels. Each one level indented compared to its parent. I don't want any levels except for the first one. In my snapshot it's intentionally the same picture. I have a list and when I tap tab it doesn't indent further because the highest total level allowed is one. |
|
@YoX89, got it. thanks for clarifying. I think, this is something that can be handled even without any change in Proton. You can use Also note, creating list at first level is done using |
|
Thank you! I'll have a look on Monday if I can solve it without any changes to Proton. |



No description provided.