RichTextKit
RichTextKit copied to clipboard
Setting an attribute like foreground color is not undoable
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.