Improvement: Add Keyboard Shortcuts for Changing Paragraph Format #85

Closed
opened 2016-03-26 17:14:48 +01:00 by tpetrauskas · 4 comments
tpetrauskas commented 2016-03-26 17:14:48 +01:00 (Migrated from github.com)

During text formatting mouse is used more as it should. It would be way more productive to use keyboard shortcuts for that task.

Missed keyboard shortcuts for changing paragraph formatting:

  • Header 1
  • Header 2
  • Header 3
  • Paragraph
  • Block-quote
  • Code Block
  • Inline Code
During text formatting mouse is used more as it should. It would be way more productive to use keyboard shortcuts for that task. Missed keyboard shortcuts for changing paragraph formatting: - Header 1 - Header 2 - Header 3 - Paragraph - Block-quote - Code Block - Inline Code
fredericmohr commented 2016-05-13 10:27:54 +02:00 (Migrated from github.com)

Just a suggestion, other key board shortcuts that would be nice are

[e]          switch to edit mode (especially useful when you scrolled all the way down on a long page and the edit button is all the way at the top of the page, extra points when edit mode starts at the location you scrolled to, instead of the top of the page)
[ctrl]+[s]   save and exit edit mode
[some key]   sync preview with current location of markdown editor
[ctrl]+[lmb] sync markdown editor with location (mouse click) of preview)

Just throwing this in as suggestion :)

Just a suggestion, other key board shortcuts that would be nice are ``` [e] switch to edit mode (especially useful when you scrolled all the way down on a long page and the edit button is all the way at the top of the page, extra points when edit mode starts at the location you scrolled to, instead of the top of the page) [ctrl]+[s] save and exit edit mode [some key] sync preview with current location of markdown editor [ctrl]+[lmb] sync markdown editor with location (mouse click) of preview) ``` Just throwing this in as suggestion :)
fredericmohr commented 2017-02-17 19:01:24 +01:00 (Migrated from github.com)

Since the headers can already be controlled via [ctrl]+[1-4], how difficult would it be to expand that to include paragraph, block quote, code block and inline code with keys [5-8]?

If it's a priority issue, is there anything I can do to help? I'm not a developer but I have had some contact with PHP and Lavarel, so if it's not too complicated and if someone could point me at the right location, I could give it a try. If it results in usable code, we can merge it.

Since the headers can already be controlled via [ctrl]+[1-4], how difficult would it be to expand that to include paragraph, block quote, code block and inline code with keys [5-8]? If it's a priority issue, is there anything I can do to help? I'm not a developer but I have had some contact with PHP and Lavarel, so if it's not too complicated and if someone could point me at the right location, I could give it a try. If it results in usable code, we can merge it.
stu177 commented 2017-03-22 11:37:39 +01:00 (Migrated from github.com)

Seems the shortcuts for headers doesn't include Header Tiny which you would expect to be Control + 5?

Seems the shortcuts for headers doesn't include Header Tiny which you would expect to be Control + 5?
ssddanbrown commented 2017-07-27 20:17:43 +02:00 (Migrated from github.com)

As per the suggestion from @fredericmohr I've expanded the shortcuts across [Ctrl]+[1-9]. I've done this in both editors. Thanks @fredericmohr.

@stu177 I've altered the header shortcuts to match the formats dropdown. Ctrl+4 is now 'Header - Tiny'. Thanks for making me aware that tiny was not included.

I'll document the current shortcuts as part of sending out the next release (#452).

The work done here be in the next bugfix release, v0.17.4, due in the next couple of days.

As per the suggestion from @fredericmohr I've expanded the shortcuts across [Ctrl]+[1-9]. I've done this in both editors. Thanks @fredericmohr. @stu177 I've altered the header shortcuts to match the formats dropdown. Ctrl+4 is now 'Header - Tiny'. Thanks for making me aware that tiny was not included. I'll document the current shortcuts as part of sending out the next release (#452). The work done here be in the next bugfix release, v0.17.4, due in the next couple of days.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bookstack/bookstack#85
No description provided.