mediawiki-extensions-Visual.../modules/ve/ce
Trevor Parscal a56e795f58 ve.Editor
Objectives:

* Split ve.Surface into ve.Editor and ve.ui.Surface
* Move actions, triggers and commands to ve.ui
* Move toolbar wrapping, floating, shadow and actions functionality to configurable options of ve.ui.Toolbar
* Make ve.ce.Surface and ve.ui.Surface inherit ve.Element and use this.$$ for iframe friendliness
* Make the toolbar separately initialized so it's possible to have a surface without one, as well as control where the toolbar is

Some change notes:

VisualEditor.php
* Added standalone module for mediawiki integrated unit testing

ve.ce.Surface.js
* Remove requirement to pass in an attached container to construct object
* Inherit ve.Element and use this.$$ instead of $
* Make getSelectionRect iframe friendly
* Move most of the initialize stuff to a new initialize method to be called after the surface is attached to the DOM

ve.init.mw.ViewPageTarget.js
* Merge toolbar functions into setup/teardown methods
* Add toolbar manually (since it's not added by the surface anymore)

ve.init.sa.Target.js
* Update new init procedure for editor, surface and toolbar separately
* Move toolbar floating stuff to ve.Toolbar

Change-Id: If91a9d6e76a8be8d1b5a2566394765a37d29a8a7
2013-05-15 10:39:12 -07:00
..
annotations ve.Element refactor 2013-05-14 19:47:32 +00:00
nodes ve.Editor 2013-05-15 10:39:12 -07:00
styles Fixing shields 2013-05-08 12:29:25 -07:00
ve.ce.Annotation.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.AnnotationFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.BranchNode.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.ce.ContentBranchNode.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.Document.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ce.DomRange.js DomRange makes more sense as a name for this class (cause it is not rangy specific). 2013-03-05 12:18:59 -08:00
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 Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.ce.Node.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ce.NodeFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.ProtectedNode.js Make ve.ce.ProtectedNode use setup (for setup) and teardown (for teardown) events so it is going to work well after node is rewrapped (example: MWBlockImageNode). 2013-05-15 10:28:56 -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 ve.Editor 2013-05-15 10:39:12 -07:00
ve.ce.SurfaceObserver.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.View.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00