Support keyboard shortcuts

Bug #1037787 reported by Jorge Castro on 2012-08-16
This bug affects 8 people
Affects Status Importance Assigned to Milestone
UberWriter (moved to github!)
Wolf Vollprecht

Bug Description

It'd be nice to have keyboard shorcuts. I am biased so IMO they should mirror the web's best markdown text editor widget from

ctrl-b - bold
ctrl-i - italics
ctrl-l insert a link
ctrl-q blockquote
ctrl-k code sample
ctrl-g insert image
ctrl-o numbered list
ctrl-u unordered list
ctrl-h heading
ctrl-r horizontal rule

James Gifford (jamesgifford) wrote :

+1 for those shortcuts, they make sense.

Wolf Vollprecht (w-vollprecht) wrote :

Awesome suggestions, thanks for hinting me at stackoverflow, didn't know they had such a nice implementation.

I was thinking about shortcuts but couldn't make my mind up how to go about them, because obviously markdown is a little "different" -- but stackoverflow seems to do that right, so I'll use that as a great reference :)

Changed in uberwriter:
assignee: nobody → Wolf (w-vollprecht)
importance: Undecided → Low
importance: Low → Wishlist
status: New → In Progress
Wolf Vollprecht (w-vollprecht) wrote :

As of now, there is some limited support for Strg+B, Strg+I, Strg+U and Strg+R.

It's harder to implement than I'd like :) I probably need to do it different from what I've tried, but I'll get there :)

Samuel Dellicour (smd) wrote :

I can see that some shortcuts are already implemented, for example Control-B for bold.

But when I immediately undo this action (with control-z), the text that was bold completely disappears. Only when I press control-z a second time, does it reappear, with no bold, which was my intention.

Control-z/undo should have a more intuitive action: have the text "loose" it's bold styles without disappearing.

Samuel Dellicour (smd) wrote :

Oops - I just noticed that my comment about control-z is already being adressed in Bug #1052105 ("Undo sometimes distorts the text"). Sorry.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers