mediawiki-extensions-Visual.../modules/ve/ce
Trevor Parscal 1878c7c5a8 Allow node relocation
*.php
* Added links to new file

ve.ce.ImageNode.js
* Added relocatable node mixin
* Added $image reference to the actual img element, so if it's wrapped
  in a sub class the functionality in the parent class  doesn't break.
* Moved drag start event handling to relocatable node
* Removed drag end binding, not needed.

ve.ce.MWImageNode.js
* Moved addClass to initialization section of constructor.
* Copied 'view' data prop from image element to keep stuff working after
  the wrapping.

ve.ce.Node.css
* Switched to default (arrow) cursor for images.

ve.ce.RelocatableNode.js
* New mixing for nodes that should be relocatable
* Added implementation for drag start, which tells the surface to allow
  dragging this node.

ve.ce.Surface.js
* Added relocation support, which is used by relocatable nodes
* Split onDocumentDragDrop into onDocumentDragOver and onDocumentDrop
  which now have implementations that support relocation of nodes

ve.ui.Context.js
* Added relocation tracking to prevent context being shown while
  relocating

Change-Id: I8703adfb707af2c3224431afc3418356ac2c686c
2013-04-19 12:07:18 -07:00
..
annotations Great Annotation Refactor of 2013 2013-04-08 18:10:16 -07:00
nodes Allow node relocation 2013-04-19 12:07:18 -07:00
styles Allow node relocation 2013-04-19 12:07:18 -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 Avoid rendering content of ve.ce.ContentBranchNode multiple times when only one transaction is applied 2013-04-17 12:16:04 -07:00
ve.ce.ContentBranchNode.js Fix bug in ContentBranchNode that caused renderContents to be called not enough 2013-04-18 16:11:59 -07:00
ve.ce.Document.js Merge "Inside ve.ce.Document.getRelativeOffset fallback to 'character' mode if 'word' mode returns the same offset as was passed originally" 2013-04-16 22:54:27 +00: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 Allow node focusing 2013-04-18 13:54:37 -07:00
ve.ce.js Allow node relocation 2013-04-19 12:07:18 -07:00
ve.ce.LeafNode.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.ce.Node.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.NodeFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.ce.RelocatableNode.js Allow node relocation 2013-04-19 12:07:18 -07:00
ve.ce.Surface.js Allow node relocation 2013-04-19 12:07:18 -07:00
ve.ce.SurfaceObserver.js There was no check if anchorNode of selection range is inside an element with CSS class ve-ce-slug. 2013-04-15 21:40:13 +00:00
ve.ce.View.js Add ve.ce.View as a common base class for ce.Node and ce.Annotation 2013-04-09 12:05:05 -07:00