phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Default Editor - BBCode Shortcuts

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Re: Default Editor - BBCode Shortcuts

Postby ToonArmy » Mon May 09, 2011 10:54 pm

AmigoJack wrote:phpBB already supports accelerator keys: with MSIE or FFOX on Windows you can hit ALT+B for clicking the Bold-button. With OPER it's not that easy (SHIFT+ESC, then press the key of choice) unless you use an extension which enables you to do the same with ALT+SHIFT+B. While "accelerator keys" is the Win32 API term, HTML entitles this as "access keys": http://www.w3.org/TR/html401/interact/f ... #h-17.11.2 - see also http://en.wikipedia.org/wiki/Access_key

So I see no reason why to re-invent something which every browser already supports.

We're talking about using the well known Ctrl based shortcuts rather than more obscure browser specific access key modifiers, which vary by browser and architecture.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image
User avatar
ToonArmy
Registered User
 
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK

Re: Default Editor - BBCode Shortcuts

Postby AmigoJack » Wed May 11, 2011 3:44 pm

Well-known is subjective.
  • MS Word 2000 on Windows is localized and I have to press CTRL+SHIFT+F to get bold text. I can verify this for all Office programs up until version 2003.
  • Jelsoft vB uses CTRL+B regardless of any chosen language. Which collides with what my browser already does for CTRL+B.
I'm not talking about localizing the BBCode - but localizing the buttons in the editor would make more sense in my eyes than to make an even stronger use of english-optimized shortcuts (or access keys) for a feature which half of the people might see as a help and others might facepalm it...
User avatar
AmigoJack
Registered User
 
Posts: 59
Joined: Wed May 04, 2011 7:47 pm
Location: グリーン ヒル ゾーン

Re: Default Editor - BBCode Shortcuts

Postby Oleg » Tue May 17, 2011 11:01 pm

I have been warming up to this idea since my first post in this topic. When the post editor is focused I think overriding Ctrl-B, etc. is quite reasonable.
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Previous

Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 9 guests