Skip to content

feature: Limit undo - #2323

Open
steff-o wants to merge 2 commits into
origo-map:masterfrom
ornskoldsvikskommun:editor-limit-undo
Open

feature: Limit undo#2323
steff-o wants to merge 2 commits into
origo-map:masterfrom
ornskoldsvikskommun:editor-limit-undo

Conversation

@steff-o

@steff-o steff-o commented May 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #2316 by adding the following configuration possibilities to the editor control:

Option Description
clearUndoOnLayerChange Boolean. When set to true the list of undoable operations is cleared when the active edit layer is changed. Default false.
clearUndoOnSessionEnd Boolean. When set to true the list of undoable operations is cleared when pending edits are saved or aborted. Only applicable when autoSave = false. Default false.
clearUndoOnToolChange Boolean. When set to true the list of undoable operations is cleared when editor is closed. Default false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor - Limit undo

1 participant