Update copyHostSelection to be popup-only (#1267)
This commit is contained in:
parent
c875ca728f
commit
d21de9df00
@ -1038,7 +1038,7 @@
|
|||||||
{"action": "addNoteTermKana", "key": "KeyR", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
{"action": "addNoteTermKana", "key": "KeyR", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
||||||
{"action": "playAudio", "key": "KeyP", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
{"action": "playAudio", "key": "KeyP", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
||||||
{"action": "viewNote", "key": "KeyV", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
{"action": "viewNote", "key": "KeyV", "modifiers": ["alt"], "scopes": ["popup", "search"], "enabled": true},
|
||||||
{"action": "copyHostSelection", "key": "KeyC", "modifiers": ["ctrl"], "scopes": ["popup", "search"], "enabled": true}
|
{"action": "copyHostSelection", "key": "KeyC", "modifiers": ["ctrl"], "scopes": ["popup"], "enabled": true}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -712,7 +712,7 @@ class OptionsUtil {
|
|||||||
{action: 'addNoteTermKana', key: 'KeyR', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'addNoteTermKana', key: 'KeyR', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'playAudio', key: 'KeyP', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'playAudio', key: 'KeyP', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'viewNote', key: 'KeyV', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'viewNote', key: 'KeyV', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'copyHostSelection', key: 'KeyC', modifiers: ['ctrl'], scopes: ['popup', 'search'], enabled: true}
|
{action: 'copyHostSelection', key: 'KeyC', modifiers: ['ctrl'], scopes: ['popup'], enabled: true}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
profile.options.anki.suspendNewCards = false;
|
profile.options.anki.suspendNewCards = false;
|
||||||
|
@ -3013,7 +3013,7 @@
|
|||||||
<option value="addNoteTermKana" data-scopes="popup search">Add term note (reading)</option>
|
<option value="addNoteTermKana" data-scopes="popup search">Add term note (reading)</option>
|
||||||
<option value="viewNote" data-scopes="popup search">View note</option>
|
<option value="viewNote" data-scopes="popup search">View note</option>
|
||||||
<option value="playAudio" data-scopes="popup search">Play audio</option>
|
<option value="playAudio" data-scopes="popup search">Play audio</option>
|
||||||
<option value="copyHostSelection" data-scopes="popup search">Copy selection</option>
|
<option value="copyHostSelection" data-scopes="popup">Copy host window selection</option>
|
||||||
<option value="scanSelectedText" data-scopes="web">Scan selected text</option>
|
<option value="scanSelectedText" data-scopes="web">Scan selected text</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="hotkey-list-item-flex-row">
|
<div class="hotkey-list-item-flex-row">
|
||||||
|
@ -455,7 +455,7 @@ function createProfileOptionsUpdatedTestData1() {
|
|||||||
{action: 'addNoteTermKana', key: 'KeyR', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'addNoteTermKana', key: 'KeyR', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'playAudio', key: 'KeyP', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'playAudio', key: 'KeyP', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'viewNote', key: 'KeyV', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
{action: 'viewNote', key: 'KeyV', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true},
|
||||||
{action: 'copyHostSelection', key: 'KeyC', modifiers: ['ctrl'], scopes: ['popup', 'search'], enabled: true}
|
{action: 'copyHostSelection', key: 'KeyC', modifiers: ['ctrl'], scopes: ['popup'], enabled: true}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
popupWindow: {
|
popupWindow: {
|
||||||
|
Loading…
Reference in New Issue
Block a user