Describe the bug
When the input text is selected and the text includes both normal text and a formatted element (bold, italic etc.), then deleting the text causes a crash.
To Reproduce
Steps to reproduce the behavior:
- Open markdown input to write text
- Select text, make sure the selection includes both normal text and formatted element (but not the whole input text)
- Press the delete key
- See error (crashing)
If the option "Cut" is used, btw, there's no crash, but the markdown format is deformed and parsed incorrectly.
Expected behavior
Deleting mixed selection or cutting should neither crash the app or deform markdown format.
Screenshots
N/A
Device (please complete the following information):
- Device: [e.g. iPhone12]
- Version [e.g. 0.5.0]
Describe the bug
When the input text is selected and the text includes both normal text and a formatted element (bold, italic etc.), then deleting the text causes a crash.
To Reproduce
Steps to reproduce the behavior:
If the option "Cut" is used, btw, there's no crash, but the markdown format is deformed and parsed incorrectly.
Expected behavior
Deleting mixed selection or cutting should neither crash the app or deform markdown format.
Screenshots
N/A
Device (please complete the following information):