You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like users to be able to confirm when they press 'Enter' key.
I'm stuck here:
window.addEventListener('static_edit.editing', function (e) {
document.addEventListener('keydown', function (e) {
if (e.key == 'Enter') {
// What could i write here ?
}
});
});
I would like users to be able to confirm when they press 'Enter' key.
I'm stuck here: