mediawiki-extensions-Visual.../modules/ve/ce
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
..
annotations Great Annotation Refactor of 2013 2013-04-08 18:10:16 -07:00
nodes Make reference list nodes render contents again 2013-05-10 10:47:10 -07:00
styles Fixing shields 2013-05-08 12:29:25 -07:00
ve.ce.Annotation.js Add ve.ce.View as a common base class for ce.Node and ce.Annotation 2013-04-09 12:05:05 -07:00
ve.ce.AnnotationFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.BranchNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.ContentBranchNode.js Reduction of renderContents calls 2013-05-10 00:28:30 +00:00
ve.ce.Document.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.ce.DomRange.js
ve.ce.FocusableNode.js ve.ce.FocusableNode: Fix documentation 2013-05-07 21:51:38 +02:00
ve.ce.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.LeafNode.js
ve.ce.Node.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.ce.NodeFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.ProtectedNode.js Fixing shields 2013-05-08 12:29:25 -07:00
ve.ce.RelocatableNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.ResizableNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.Surface.js Floating toolbar cleanup 2013-05-14 12:43:30 -07:00
ve.ce.SurfaceObserver.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.View.js Also render attributes of the form html/i-j/attrName in CE 2013-05-08 18:10:46 +00:00