Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Android support: add "copy selected text to clipboard" option #300

Open
rubcap opened this issue Mar 7, 2024 · 1 comment
Open

Comments

@rubcap
Copy link

rubcap commented Mar 7, 2024

Hi there!

I love your extension and would like to use it more in Firefox for Android (Fenix).

In Firefox on desktop, you can set a keyboard shortcut to copy selected text, as Markdown, to the clipboard.
I would like to do the same thing on Android: copying text, as Markdown, to the clipboard, without integrating the extension with the Obsidian app or the need to download and import a Markdown file (to keep things as simple as possible). I tried to copy the text in the browserAction panel on Android, but that turned out to be nearly impossible.

The best option would be to be able to add an item to the Android browser's context menu.
But seeing that extensions aren't able to add items there yet (https://bugzilla.mozilla.org/show_bug.cgi?id=1595822), I think a convenient and quick temporary solution would be to add a big "Copy to clipboard" button above the current "Download" button.

This would also benefit desktop users that pressed the toolbar button in order to download a Markdown file, but make a split-second decision not to download, but to copy the Markdown. For Android users, copying selected text would be greatly simplified.

I made a simple mock-up to visualize how the browserAction interface could be changed.

Thanks for considering this change!

MarkDownload_browserAction_interface_mockup

@rubcap
Copy link
Author

rubcap commented Mar 7, 2024

See also #301 to scale the interface on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant