Add support for custom input modes
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
6
layouts/partials/bergamotinputmode.html
Normal file
6
layouts/partials/bergamotinputmode.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
window.addEventListener('load', function() {
|
||||
window.Bergamot.inputModes['{{ .name }}'] = {{ .fn | safeJS }};
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user