Skip to content

Commit

Permalink
Enable keyboard shortcuts in calendar (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegevoian authored Sep 27, 2023
1 parent 37b18b9 commit 232d038
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions calendar/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ async function configureGristSettings() {
// When options changed in the widget configuration (reaction to perspective change)
grist.onOptions(onGristSettingsChanged);

// TODO: remove optional chaining once grist-plugin-api.js includes this function.
grist.enableKeyboardShortcuts?.();

// bind columns mapping options to the GUI
const columnsMappingOptions = getGristOptions();
grist.ready({ requiredAccess: 'read table', columns: columnsMappingOptions, allowSelectBy: true });
Expand Down

0 comments on commit 232d038

Please sign in to comment.