brandon1024/find

Find and Replace Within Input/Editable Element

Opened this issue · 0 comments

Issue Description

I've wanted to implement this for a while. Right now, we currently support find-and-replace within a page, but input elements are skipped because it is not possible to highlight elements in an input field.

To overcome this, we would create a new context menu item that the user can use to find and replace text within an input field. It wouldn't be able to open the popup field (openPopup() API is not widely implemented yet), so instead we would just inject a small toolbar in the page.

As an added feature, it would be great if we added an option in the popup options pane that enabled a small icon in the bottom right corner of input fields that would open the popup, rather than have to use the context menu.