RichTextKit icon indicating copy to clipboard operation
RichTextKit copied to clipboard

Setting an attribute like foreground color is not undoable

Open markkrenek opened this issue 4 months ago • 1 comments

I'm using the demo app on iOS. Type some text. Select some of it. Change the text color. Now try to undo. The color change is not undone, and instead, the entire text you typed is undone. I would expect only the color change to be undone.

Things like applying multiple styles (bold, italic, etc) are not individually undoable either.

As an aside, you can also change the text color using Apple's formatting sheet that you can get to from the context menu of selected text (Format > More). If you make a color change there, it is undoable.

markkrenek avatar Oct 13 '24 15:10 markkrenek