debugging ticket creation, lost spell checker

This commit is contained in:
Mark Gregory
2026-06-24 08:46:08 +01:00
parent 28ee25fd12
commit 7e6a9a426f
5 changed files with 36 additions and 50 deletions
+5 -6
View File
@@ -232,11 +232,10 @@
- version: 1.9.51
date: 2026-06-24
type: bugfix
summary: Stabilise Helpdesk ticket create rich editor and single-click submit.
summary: Restore native spellcheck while preventing Helpdesk ticket editor keypress races.
changes:
- Changed the reusable Helpdesk rich editor to defer Livewire body synchronisation instead of sending a server request for every keypress.
- Added a submit-capture synchronisation hook so the latest Details content is included before TicketCreate validation runs.
- Removed the duplicate keyup synchronisation path that could leave Create Ticket disabled while typing.
- Disabled browser autocorrect and autocomplete on the contenteditable editor while preserving native spellcheck support.
- Updated regression coverage for deferred editor sync, submit sync and keypress race prevention.
- Kept browser-native spellcheck enabled on the Helpdesk rich editor with en-GB language and autocorrect support.
- Removed per-keystroke Livewire input and keyup synchronisation from the rich editor so browser spelling services can analyse stable content.
- Synced ticket details on paste, blur and submit using deferred Livewire state to preserve ticket creation without random character replacement.
- Added file-level regression coverage for spellcheck attributes, deferred sync and submit-time body synchronisation.
- Preserved append-only changelog history.