# `GSFont enableUndo`

*Instance Method*

Enables undo registration for the font and its glyphs.

## Declaration

```swift
func enableUndo()
```

```objc
- (void) enableUndo;
```

```python
enableUndo()
```

## See Also

### Undo

- [`GSFont.undoManager`](/Core/GlyphsCore/GSFont/undoManager) — The undo manager used for font-level changes, or `nil` when no document provides one.
- [`GSFont disableUndo`](/Core/GlyphsCore/GSFont/disableUndo) — Disables undo registration for the font and its glyphs.

