• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How does AT forums intercept keyboard shortcuts for inserting BBCode tags? (Ctrl+B)

Ichinisan

Lifer
PHPBB forums like Anandtech and Slickdeals support keyboard shortcuts like Ctrl+B / Ctrl+ U / Ctrl+I to wrap appropriate BBCode tags around your selected text (doesn't work if you use Chrome).

I've looked at page source and can't figure out how it's done. There's no ' accesskey="b" ' or anything like that.

...so how's it done?
 
While I don't know for sure, I'd guess it's an onkey event (e.g. onkeyup), like this.
 
Back
Top