mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add Command API to Grist Plugin API
Summary: The new Command API provides limited access to Grist Commands from within cusotm widgets. This includes the ability to perform undo and redo, which is bound to the same keyboard shortcut as Grist by default. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Subscribers: paulfitz, jarek Differential Revision: https://phab.getgrist.com/D4050
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<script src="/grist-plugin-api.js"></script>
|
||||
<script>
|
||||
grist.ready();
|
||||
grist.enableKeyboardShortcuts();
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user