mirror of
https://github.com/discourse/discourse.git
synced 2025-02-03 03:12:01 +08:00
93c38cc175
Adds keyboard bindings and associated help menu for selecting reminder type in bookmark modal, and pressing Enter to save. Introduce the following APIs for `KeyboardShortcuts`: * `pause` - Uses the provided array of combinations and unbinds them using `Mousetrap`. * `unpause` - Uses the provided combinations and rebinds them to their default shortcuts listed in `KeyboardShortcuts`. * `addBindings` - Adds the array of keyboard shortcut bindings and calls the provided callback when a binding is fired with Mousetrap. * `unbind` - Takes an object literal of a binding map and unbinds all of them e.g. `{ enter: { handler: saveAndClose" } };` |
||
---|---|---|
.. | ||
admin | ||
confirm-new-email | ||
discourse | ||
discourse-common | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
wizard | ||
activate-account.js | ||
admin.js.erb | ||
application.js | ||
auto-redirect.js | ||
deprecated.js | ||
discourse-loader.js | ||
discourse-objects.js | ||
discourse.js | ||
embed-application.js | ||
ember_include.js.erb | ||
ember_jquery.js | ||
ember-shim.js | ||
env.js | ||
google-tag-manager.js | ||
google-universal-analytics.js | ||
main_include_admin.js | ||
markdown-it-bundle.js | ||
onpopstate-handler.js | ||
polyfills.js | ||
preload-application-data.js | ||
preload-store.js | ||
pretty-text-bundle.js | ||
print-page.js | ||
service-worker.js.erb | ||
set-prototype-polyfill.js | ||
template_include.js | ||
template_include.js.erb | ||
vendor.js | ||
wizard-application.js | ||
wizard-start.js | ||
wizard-vendor.js |