-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Keyboard Shortcuts #9
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
Comments
Updated this to be the main issue for keyboard shortcuts - this needs lots of research about what shortcuts we can safely use (Cross-browser) and what actions we can perform on our Markdown using the CodeMirror API. I would suggest that we try to replicate as many of the Mou formatting shortcuts as we can, to begin with, and see how it goes. |
Fo reference this is the Mou shortcuts; Actions
*If |
I'll add Publishing action shortcuts in tomorrow to get this done. |
Btw, the alt + 3 shortcut conflicts with making a hash on my macbook air. I thought alt+3 was the hash key on most macs (there's never a key like on normal keyboards).. this is incredibly confusing because every time I want to add a hash, I get 3 :( |
'tis true! Sorry about that. I'll change the shortcut to something more fitting, maybe Ctrl+Alt+number? |
👍 |
Can this be closed? |
Definitely not - far from done. One thing I just noticed - adding a link via keyboard shortcut:
Expected behaviour: Actual behaviour: the whole |
Marking this as top priority as I think we need to ensure that we can do what we need to do with the current CodeMirror setup. If we can't this will act as an early warning that we need better (our own) tools. |
Does this issue need any more shortcuts adding @JohnONolan? |
Looks very good. Is there any way we can do the very first thing on the list? Copy/export HTML? I think it should be possible :) |
It is possible but to safely copy stuff to the clipboard you'd need Flash. |
Good point - can you have a look into this and report back on what the overhead and implications would be? |
Overhead and implications = filesize, pageload time, translation issues, compatibility with other components, implementation requirements, etc. |
Ok digging a little further, Github now uses (which seems the best option);
This implementation problem with requiring a button will keep occurring, because Flash doesn't allow you to copy something to the clipboard unless it is focused (which we cant do) or unless it's clicked (the button). |
Roger that - any less reliable (progressive enhancement?) alternatives to using flash? HTML5 API or anything that we can make use of? |
Added rough implementation of Copy to HTML. (waiting on modals) |
Updated heading font sizes
The Ghost editor should have a number of keyboard shortcuts to assist with writing tasks.
A good example of how this works can be seen in the Mou app, under the Actions menu. We need to research, when applying this to a browser based app: What are the keyboard shortcuts available to us that won't cause major conflicts with OS+browser native shortcuts? See also: List of common shortcuts - wikipedia
Proposed shortcuts:
The text was updated successfully, but these errors were encountered: