|
|
@ -13,6 +13,9 @@ const followComponent = new FollowComponent(window.document.body, store); |
|
|
|
const contentInputComponent = |
|
|
|
const contentInputComponent = |
|
|
|
new ContentInputComponent(window.document.body, store); |
|
|
|
new ContentInputComponent(window.document.body, store); |
|
|
|
const keymapperComponent = new KeymapperComponent(store); |
|
|
|
const keymapperComponent = new KeymapperComponent(store); |
|
|
|
|
|
|
|
contentInputComponent.onKey((key, ctrl) => { |
|
|
|
|
|
|
|
return followComponent.key(key, ctrl); |
|
|
|
|
|
|
|
}); |
|
|
|
contentInputComponent.onKey((key, ctrl) => { |
|
|
|
contentInputComponent.onKey((key, ctrl) => { |
|
|
|
return keymapperComponent.key(key, ctrl); |
|
|
|
return keymapperComponent.key(key, ctrl); |
|
|
|
}); |
|
|
|
}); |
|
|
|