mediawiki-extensions-Visual.../modules/ve/ce
Trevor Parscal 55b5f30edb ve.ui.Context: Add embedding feature
Objectives:

* Make the context menu display in the top right corner of the currently
  focused inspectable node (if there is one)
* Prevent clicking on anything to do with the toolbar or popup from doing
  anything at all, ever

Bonus:

* While we are using the clever feature in jQuery's on method which allows
  passing boolean false to cancel the event - may as well do that in
  ve.ui.Dialog as well

Changes:

ve.ui.FocusableNode
* Add ability to specify the focusable element so that dimensions can be
  derived from it

ve.ce.Surface
* Add quotes to object keys

ve.ui.MediaDialog
* Change association from being MW specific to handling images in general

ve.ui.Context
* Add embedded styles for context
* Add embedded mode, which is triggered when the context is a single
  focusable node, and the node is large enough to fit the context
  reasonably

ve.ui.Dialog
* Inline mousedown handler

ve.ui.Toolbar, ve.ui.PopupWidget
* Cancel stray mousedown events

Change-Id: I4b25d33f64b4bcb8a3ecfd7e9728f54a2d4886f3
2013-05-16 11:23:59 -07:00
..
annotations ve.Element refactor 2013-05-14 19:47:32 +00:00
nodes Build TemplateDialog based on parameters that are passed to template 2013-05-15 22:47:59 +00:00
styles Fixing block template styling 2013-05-15 16:37:27 -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.ui.Context: Add embedding feature 2013-05-16 11:23:59 -07: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.ui.Context: Add embedding feature 2013-05-16 11:23:59 -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