]> BookStack Code Mirror - bookstack/commit
Lexical: Fixed issues with content not saving
authorDan Brown <redacted>
Thu, 27 Mar 2025 14:13:18 +0000 (14:13 +0000)
committerDan Brown <redacted>
Thu, 27 Mar 2025 14:13:18 +0000 (14:13 +0000)
commit5c6671b3bf5b582c2ed0e120bb8afb5f296a63e9
treec5db199702786d87bed8d56cd7353c67b5207b21
parent0ec0913846f79ed3dcde9634739a7eda297f19e1
Lexical: Fixed issues with content not saving

Found that saving via Ctrl+Enter did not save as logic to load editor
output into form was bypassed, which this fixes by ensuring submit
events are raised during for this shortcut.

Submit handling also gets a timeout added since, at least in FF,
requestSubmit did not re-submit a form while in a submit event.
resources/js/components/page-editor.js
resources/js/components/wysiwyg-editor.js