diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-04-11 22:44:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-04-11 22:44:32 +0900 |
| commit | b5981ab544baaf81b0c81cca1fe8a80c34993b2a (patch) | |
| tree | d9cdd90756a5a93b538cd9f718768525709f2681 /src/client/scripts | |
| parent | New Crowdin translations (#6227) (diff) | |
| download | sharkey-b5981ab544baaf81b0c81cca1fe8a80c34993b2a.tar.gz sharkey-b5981ab544baaf81b0c81cca1fe8a80c34993b2a.tar.bz2 sharkey-b5981ab544baaf81b0c81cca1fe8a80c34993b2a.zip | |
feat(client): Implement AiScript scratchpad
Diffstat (limited to 'src/client/scripts')
| -rw-r--r-- | src/client/scripts/hotkey.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/scripts/hotkey.ts b/src/client/scripts/hotkey.ts index 7d1bb16e79..5f73aa58b9 100644 --- a/src/client/scripts/hotkey.ts +++ b/src/client/scripts/hotkey.ts @@ -80,6 +80,7 @@ export default { el._keyHandler = (e: KeyboardEvent) => { const targetReservedKeys = document.activeElement ? ((document.activeElement as any)._misskey_reservedKeys || []) : []; if (document.activeElement && ignoreElemens.some(el => document.activeElement.matches(el))) return; + if (document.activeElement && document.activeElement.attributes['contenteditable']) return; for (const action of actions) { const matched = match(e, action.patterns); |