Editor: undo shows in the Deck settings field still focused
After a change in Deck settings the document went back on the first undo, but the field the person had just used, still focused, kept showing the new value (setValue never writes into the focused control), so the undo looked as if it did nothing and a second was pressed. An undo or redo now lets the fill write focused fields for a second. Test: TestOneUndoTakesBackADeckSettingsChange, and a node test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
6 files changed,
+113
−23
fixtures/editor-entry.js+3 −2fixtures/inspector-block.mjs+10 −2fixtures/inspector.test.mjs+19 −1internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.b84fc015e0f3efec.js => editor.14a94c886e9cda83.js}+17 −17internal/slidestest/browser_settings_undo_test.go+63 −0
fixtures/editor-entry.jsLoading diff…
fixtures/inspector-block.mjsLoading diff…
fixtures/inspector.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.b84fc015e0f3efec.js => editor.14a94c886e9cda83.js}Loading diff…
internal/slidestest/browser_settings_undo_test.goLoading diff…