Steps to reproduce:
Create some context menus in an extension, e.g:
brower.contextMenus.create({
id: 'translate-selection',
title: 'Translate Selection',
contexts: ['selection']
});
// Add "type to translate" menu item to textareas
brower.contextMenus.create({
id: 'show-outbound-translation',
title: 'Type to translate…',
contexts: ['editable']
});
These items are now added to all context menus on a page.
Expected behavior:
- The one with the
selection
context to only appear when text is selected and a context menu is opened
- The one with the
editable
context to only appear when someone right-clicks on a textfield or a textarea (or a contenteditable, basically any place they can type.)
- To appear only together when someone selected some text in a textfield, and right-clicks.
Orion 0.99.121.1-beta
macOS Ventura 13.0.1
Intel macbook pro, 16" 2019