mediawiki-extensions-Visual.../modules/ve
Trevor Parscal 5012ed101b Floating toolbar cleanup
Objective:

Move toolbar floating functionality to ve.init and clean it up

As a bonus:

demo.css
* Fix CSS path to set width of inputs properly

Changes:

demos/ve/index.php
* Allow ve.init.sa.Target to construct it's own surface object

ve.ce.Surface.js
* Move object resizing and table editing disabling commands from ve.Surface
* Add method for getting the currently focused node

ve.init.mw.ViewPageTarget.js
* Remove initializing surface property (now done in parent class)
* Normalize all uses of "setup" to "setUp"
* Replace uses of getDocumentModel with getModel().getDocument()
* Add calls to set up and tear down for toolbar floating

ve.init.mw.Target.js
* Replace uses of getDocumentModel with getModel().getDocument()

ve.init.sa.Target.js
* Move example from ve.Surface
* Change constructor to accept document model
* Create ve.Surface object in constructor
* Add set up for toolbar floating

ve.ui.init.Target.js
* Initialize surface property
* Move and cleanup toolbar floating functionality from ve.Surface

ve.ui.Surface.js
* Remove example now that init.sa creates it's own surface (moved)
* Document options
* Simplify toolbar options and remove the concept of multiple toolbars
* No longer cache the options object
* Move toolbar initialization to constructor
* Change setupCommands to addCommands, making it useful after construction
* Inline selection initialization
* Move and cleanup toolbar floating functionality to ve.ce.Surface
* Reorganize a few methods
* Move toolbar floating to ve.init.Target.js

Change-Id: I393a426e35567d57c048122bf64a83c1ef45e6e8
2013-05-14 12:43:30 -07:00
..
actions Fix indent action when acting on multiple list items 2013-05-13 18:27:21 +01:00
ce Floating toolbar cleanup 2013-05-14 12:43:30 -07:00
dm Merge "Fix categories with multiple ../ in their hrefPrefix" 2013-05-13 19:00:02 +00:00
init Floating toolbar cleanup 2013-05-14 12:43:30 -07:00
styles
test Reference dialog 2013-05-13 13:10:59 -07:00
ui Reference dialog 2013-05-13 13:10:59 -07:00
ve.Action.js
ve.ActionFactory.js
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.CommandRegistry.js
ve.debug.js
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js
ve.js Use consistent capitalisation of Html 2013-05-11 13:04:00 +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 Move common Node/Annotation/MetaItem code into ve.dm.Model 2013-04-09 12:05:05 -07:00
ve.Range.js
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Surface.js Floating toolbar cleanup 2013-05-14 12:43:30 -07:00
ve.Trigger.js
ve.TriggerRegistry.js Code style fixes 2013-05-06 12:36:52 +01:00