Comments (7)
@lkhphuc thanks for the feedback! As for "Cut" we have no option because the way browsers work, to access the clipboard with javascript you have to initiate a cut, copy or paste event otherwise the browser thinks the code is potentially melicious and doesnt want random code to access the clipboard without the user initiating it with a clipboard type event/shortcut. Does that make sense? And the "cut" command would hardly ever need to be used on a website... other than maybe in a form you are filling out, but even then, just use "copy" and then delete the text as if was "cut". Make sense?
To the other point about modifier keys... the problem with Ctrl is that with Macs that initiates the rickt-click menu when combined with Click. I originally did have everything Ctrl and it didn't work for Mac users. And "cut" is command key anyways for Macs so that would be different. To be honest since I'm a windows guy, and because it isn't as "complicated" as Mac keys, things are built Windows first, Mac second because also I dont have a Mac so testing is hard... i have to try on my wife's computer when needed haha. So with Windows everything is the Ctrl key. Mac it has to be a little less consistent. Make sense?
If you have some thoughts on what would be best for Macs I have no problem adding/changing things for Macs that would make sense, so let me know.
from roam-highlighter.
How about customizable keyboard shortcuts?
For me on MacOS with Firefox, the Cmd+S is used for "save web page" (who does it anyway), and it cann't be override.
@lkhphuc i see the problem. My binding for this one is actually the ctrl key on Mac too. So actually use control + S not command. I’ll fix and add command as option too. On my wife’s Mac it seems the first time you may have to press ctrl+S twice for some reason.
from roam-highlighter.
How about customizable keyboard shortcuts?
For me on MacOS with Firefox, the Cmd+S is used for "save web page" (who does it anyway), and it cann't be override.
I'm not sure about Chrome but in Firefox the shortcut for extension can be configured like so.
from roam-highlighter.
How about customizable keyboard shortcuts?
For me on MacOS with Firefox, the Cmd+S is used for "save web page" (who does it anyway), and it cann't be override.
@lkhphuc it is supposed to override the default “save page” action. And I purposely picked that shortcut cuz as you said no one uses that and it also is “s” for “show” or “settings” so easy to remember. You have tried it and it is still trying to save the web page? Can you please take a GIF / screen recording and show me it happening? Thanks.
@sai-prasanna has the shortcut worked fine for you? Or you also not able to get over default save page with the + S shortcut?
Is this maybe a Mac thing? I’m on Windows.
from roam-highlighter.
@lkhphuc ok I just updated the Firefox extension so now either Ctrl + S or Command + S should work. Can you uninstall current extension and then re-download and install and tell me if Command + S now works instead of the Webpage Save? Thanks!
GitHub page > click "Download" > choose "Open" and select "Firefox" to open with (for Windows at least). Or open Firefox and go to Menu and "Open file".
from roam-highlighter.
Thank you. It work now after I click the little icon.
Only problem is the cut function Cmd+X is overided but I guess this is your design as, Ctrl-X also override cutting in Windows.
One minor detail is that it would be better if we can move all the shortcut to use the same modifier key though. Currently we're having Ctrl+Q, Cmd+X, Cmd/Ctrl+S. As Cmd+...
are mapped to all sort of things by default in Mac, Ctrl is probably the best option.
from roam-highlighter.
Ah, the Cmd+X makes sense now. Thanks a lot.
from roam-highlighter.
Related Issues (20)
- How to deactivate roam-highlighter after it's turned on in the page HOT 1
- Doesn't work when using reader's mode on firefox HOT 1
- Headings with <h1> etc tags are not turned into heading in Roam upon pasting HOT 1
- Are you still developing this by any chance? HOT 1
- Feature idea: Create a custom template to export the notes HOT 6
- highlight pdf HOT 1
- highlights don't persist when browser closed/reopened HOT 1
- Highlighting text does not work HOT 3
- [Q/Feature Request] Template format: Enter and Tab key to make a child block HOT 2
- Copying text HOT 5
- Alt+A doesn't work when "Reset defaults" was done to "Obsidian"
- Multiline code block
- Weird behavior when clipping code
- Text formatting also for stuff coming from clipboard. Not just from web page
- remove line break after Parent Title for Highlights
- Looking for a means to keyboard the "therefore" symbol; and superscript + subscript chars positions in KeyCombiner
- Firefox extension not working
- Feedback HOT 2
- Hot Key to Copy Annotations to Clipboard HOT 1
- Keyboard shortcuts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roam-highlighter.