slate-react 0.97.2-202353071056 → 0.97.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +5 -5
- package/dist/slate-react.min.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3288,9 +3288,9 @@ var create = function create(key) {
|
|
|
3288
3288
|
var generic = HOTKEYS[key];
|
|
3289
3289
|
var apple = APPLE_HOTKEYS[key];
|
|
3290
3290
|
var windows = WINDOWS_HOTKEYS[key];
|
|
3291
|
-
var isGeneric = generic && isHotkey.
|
|
3292
|
-
var isApple = apple && isHotkey.
|
|
3293
|
-
var isWindows = windows && isHotkey.
|
|
3291
|
+
var isGeneric = generic && isHotkey.isHotkey(generic);
|
|
3292
|
+
var isApple = apple && isHotkey.isHotkey(apple);
|
|
3293
|
+
var isWindows = windows && isHotkey.isHotkey(windows);
|
|
3294
3294
|
return function (event) {
|
|
3295
3295
|
if (isGeneric && isGeneric(event)) return true;
|
|
3296
3296
|
if (IS_APPLE && isApple && isApple(event)) return true;
|