Hi,
I have created a FF web extension with context menus.
When I select a text and right click, I see my context menu, I click it and display the selected text. Here the selected text displayed is plain text where as I would like display the styles or links in the selected text.
How can I solve this please?
browser.contextMenus.onClicked.addListener(function (info, tab) {
if (info.selectionText) {
console.log(info.selectionText);
}
}
Any help is much appreciated
Thanks