Because the undo() and redo()-Methods only remove strokes, added text will not be deleted by them. Text can't also be erased with the eraser-tool, because it is treated like a background-Image. A possibility is to create dedicated undo() and redo()-methods for Text or change the function of the current Buttons in TextMode.
Because the undo() and redo()-Methods only remove strokes, added text will not be deleted by them. Text can't also be erased with the eraser-tool, because it is treated like a background-Image. A possibility is to create dedicated undo() and redo()-methods for Text or change the function of the current Buttons in TextMode.