element-hq / element-hq/element-ios

WYSIWYG/Rich Text composer doesn’t support undo/redo properly.

Open
#6,931 0 comments 0 reactions 0 assignees View on GitHub
A-Rich-Text-Editor O-Frequent S-Tolerable T-Defect Z-Labs
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Write some text in the new composer
2. 3-finger swipe back to undo or 3-finger tap to reveal the edit controls.

### Outcome

#### What did you expect?
Full undo/redo history to work as in the plain text editor.

#### What happened instead?
Only the last character was undone.

https://user-images.githubusercontent.com/6060466/196634760-86ec76a7-d5c4-4606-a2c3-f5e91228ea43.MOV

### Your phone model

iPhone 13/iPad Pro

### Operating system version

iOS 16/iPadOS 15.7

### Application version

1.9.9

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.