Editor: Cmd-Z in Deck settings, and a forced refill instead of a timer
Replaces the one-second window that let any refill write a focused control. Undo and redo now refill the inspector once, at once, writing focused fields too; other refills (a colleague's change) still leave the control in use alone. Cmd/Ctrl-Z, Shift-Z and Ctrl-Y now pass the modal guard while Deck settings is the open dialog (not in its text fields), so the keyboard undoes there. Other dialogs and keys are unchanged. Tests: keyboard undo/redo of each setting with the field focused, the toolbar undo with the dialog closed, and a colleague's change not replacing unfinished text in a block-card field.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
7 files changed,
+140
−79
fixtures/editor-entry.js+13 −4fixtures/inspector-block.mjs+13 −9fixtures/inspector.mjs+3 −2fixtures/inspector.test.mjs+5 −6internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.14a94c886e9cda83.js => editor.232a5ee5a7c6c568.js}+17 −17internal/slidestest/browser_settings_undo_test.go+88 −40
fixtures/editor-entry.jsLoading diff…
fixtures/inspector-block.mjsLoading diff…
fixtures/inspector.mjsLoading diff…
fixtures/inspector.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.14a94c886e9cda83.js => editor.232a5ee5a7c6c568.js}Loading diff…
internal/slidestest/browser_settings_undo_test.goLoading diff…