Modified the keydownListener function in src/js/event_handlers/keydown/edit_keydown.js
Added logic to detect when the last cell is being edited and implemented behavior to save content and remove focus when Enter is pressed on the last cell
Testing:
Tested with various datasets to ensure the new behavior works as expected
Verified that existing functionality for non-last cells remains unchanged
This PR addresses issue #2347.
Changes made:
keydownListener
function insrc/js/event_handlers/keydown/edit_keydown.js
Testing: