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.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

Re: Default Editor - BBCode Shortcuts

Post by 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
AmigoJack
Registered User
Posts: 103
Joined: Wed May 04, 2011 7:47 pm
Location: グリーン ヒル ゾーン
Contact:

Re: Default Editor - BBCode Shortcuts

Post by 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...

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Default Editor - BBCode Shortcuts

Post by 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.

Post Reply