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

add "Save Web Content" in context menus #712

Open
3 tasks done
ahonn opened this issue May 7, 2024 · 3 comments
Open
3 tasks done

add "Save Web Content" in context menus #712

ahonn opened this issue May 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ahonn
Copy link

ahonn commented May 7, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

Now using Web Clipper can only be triggered by the extension icon on the toolbar, I want to trigger it through the context menu similar to the Notion web clipper or Readwise Reader browser extension. This way is more convenient.

Suggested solution

It looks like we have contextMenus permission already: https://github.com/anyproto/anytype-ts/blob/main/dist/extension/manifest.json#L16, but it doesn't seem to be used. We can refer to https://developer.chrome.com/docs/extensions/reference/api/contextMenus#method-create to implement this feature, which should not seem particularly difficult.

Alternative

No response

Additional context

Would be happy to help add this feature and if possible I will raise a PR.

@ahonn ahonn added the enhancement New feature or request label May 7, 2024
@ra3orblade
Copy link
Contributor

It has context menu if webclipper is authorised.
Screenshot 2024-05-07 at 10 19 21
Screenshot 2024-05-07 at 10 19 08

@ahonn
Copy link
Author

ahonn commented May 7, 2024

It's weird, I installed it on the Chrome extension store. I tried it on Arc and Chrome, but it didn't have a context menu.
Do I need to install it from elsewhere? The version I installed is v0.0.5.

@ahonn
Copy link
Author

ahonn commented May 7, 2024

Okay, I know why, I need to select & right-click text to have context menu.
What I actually want is the function triggered by the icon on the toolbar, right-click and save bookmark to anytype.

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

No branches or pull requests

2 participants