-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Environment:
- Proton version: 0.8.35 (commit 30c0f87)
- Platform: iOS
- SwiftUI integration using EditorView + ListCommand
- Custom EditorListFormattingProvider for bullets/numbers
Steps to Reproduce
- Start a bullet list. Hit return to create next item on list.
- The next bullet is auto continued on the next line.
- Tap to switch to an alternative bullet, ie numbered bullets.
- The bullet from step 2 vanishes. There is now no bullet at all.
- User taps the bullet button again to try and get their bullet.
- Now the original bullet returns with the numbered bullet at the same time. ie they are literally on top of each other!
Expected Behaviour
- Toggling from a numbered list to a bullet list should replace the marker cleanly (one style active at a time).
Actual Behaviour
- Switching list type can leave both attributes active in the same paragraph, producing overlapping markers.
Additional Notes
- I’ve verified the issue persists even after explicitly removing all known list-related attributes (com.rajdeep.proton.list, NSListItem, ProtonListKind, etc.) before applying the new list type.
- Delaying cleanup with DispatchQueue.main.asyncAfter doesn’t solve it.
- Appears related to internal async normalisation pass in ListTextProcessor that re-applies previous attributes.
Would love any guidance on whether this is known or in-progress — happy to help test potential fixes.
Thanks for all the brilliant work on Proton
Dave
Metadata
Metadata
Assignees
Labels
No labels