mediawiki-extensions-Visual.../modules/ve
Trevor Parscal c457d8afcc Add keyboard shortcuts for formatting tools
Objective:
* Add keyboard shortcuts for paragraph, heading 1-6 and pre-formatted

Testing:
* Using [control+num] triggers appears to work well on Chrome, Safari, Firefox and Opera on Mac

Changes:
ve.init.Target.js, ve.init.mw.ViewPageTarget.js
* Add formatting commands to targets
ve.ui.MWFormatTool.js
* Add mediawiki specific format tools and commands
ve.ui.CommandRegistry.js
* Add commands for all formatting tools
ve.ui.TriggerRegistry.js
* Add triggers for formatting tools

Bug: 33512
Change-Id: I5d6176eff50aa3cea72aed226ca06512629412d4
2013-09-03 17:17:03 -07:00
..
ce Make tools generic and add fancy tool groups 2013-09-03 11:27:39 -07:00
dm Make tools generic and add fancy tool groups 2013-09-03 11:27:39 -07:00
init Add keyboard shortcuts for formatting tools 2013-09-03 17:17:03 -07:00
test Make tools generic and add fancy tool groups 2013-09-03 11:27:39 -07:00
ui Add keyboard shortcuts for formatting tools 2013-09-03 17:17:03 -07:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.debug.js ve.debug: Document why we use global Function#apply+Function#call instead of method.apply 2013-05-30 13:03:14 +01:00
ve.Document.js doc: Clean up spacing that caused <pre> or broken <ul>/<ol> 2013-07-25 04:02:50 +02:00
ve.Element.js doc: Add missing @static to static ve.Element methods 2013-08-02 08:49:53 +02:00
ve.EventEmitter.js oojs: Integrate with OOJS v1.0.0 2013-06-06 17:29:55 +02:00
ve.Factory.js Make tools generic and add fancy tool groups 2013-09-03 11:27:39 -07:00
ve.js Include element HTML in QUnit summary for diff 2013-08-02 16:10:05 +01:00
ve.LeafNode.js
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js ve.ce.Document: Introduce getRelativeRange method 2013-06-05 13:10:38 +01:00
ve.Range.js Fix copy and paste of backwards selction 2013-08-22 18:10:34 +00:00
ve.Registry.js Make tools generic and add fancy tool groups 2013-09-03 11:27:39 -07:00
ve.track.js Add ve.track, a generic dispatch of analytic events 2013-08-03 02:51:07 +00:00