mediawiki-extensions-Visual.../modules/ve/ce/nodes
Trevor Parscal 92f6688162 ve.ce.ProtectedNode
Objective:

Generalize the shield and phantom magic, so we can use it for pretty much
any node we like. Usually this will be used with generated content nodes,
but also with aliens (of course) and possible other stuff in the future.

Bonus:

Also fixes a bug in DM that would crash VE when you selected to the end
and hit backspace.

Changes:

*.php
* Added links to files

aliens.html
* Added attributes to aliens to make them aliens again

ve.ce.AlienNode.js
* Moved shield and phantom functionality to ve.ce.ProtectedNode

ve.ce.AlienNode.js, ve.ce.MWReferenceListNode.js,
ve.ce.MWReferenceNode.js, ve.ce.MWTemplateNode.js
* Mixed in ve.ce.ProtectedNode

ve.ce.Node.css
* Reorganized styles and updated class names
* Added simple light blue hover with outline (using inset box shadow) for
  protected nodes, same style as before for aliens

ve.ce.Surface.css
* Moved phantom styles to ve.ce.Node.css

ve.ce.BranchNode.js
* Moved call to setLive(false) to happen before detach() so that the
  surface object is still available and events can be disconnected

ve.ce.BranchNode.js, ve.ce.Document.js, ve.ce.js, ve.ce.Surface.js, ve.ce.SurfaceObserver.js
* Adjusted CSS class names

ve.ce.Node.js
* Moved shield template to ve.ce.ProtectedNode

ve.ce.ProtectedNode.js
* New class, mix into another class to protect it from editing

ve.ce.RelocatableNode.js
* Renamed temporary surface property to relocatingSurface to avoid
  confusion when debugging

ve.ce.Surface.js
* Moved phantom template to ve.ce.ProtectedNode

ve.dm.Transaction.js
* Fixed bug where most of the internal list was being deleted when the
  end of the document was selected and the user pressed backspace

Change-Id: I2468b16e1ba6785ad298e38190e33493135719c3
2013-05-07 00:08:48 +00:00
..
ve.ce.AlienNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.BreakNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.CenterNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.DefinitionListItemNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.DefinitionListNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.DivNode.js Add support for <div>s as user-editable blocks 2013-04-30 18:43:41 -07:00
ve.ce.DocumentNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.GeneratedContentNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.HeadingNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.ImageNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.InternalItemNode.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.ce.InternalListNode.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00
ve.ce.ListItemNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.ListNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.MWBlockImageNode.js Initial support for MWBlockImageNode - thumb images with captions :-) 2013-04-25 21:49:32 +00:00
ve.ce.MWEntityNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.MWHeadingNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.ce.MWImageCaptionNode.js Initial support for MWBlockImageNode - thumb images with captions :-) 2013-04-25 21:49:32 +00:00
ve.ce.MWInlineImageNode.js Rename MWImageNode to MWInlineImageNode (get ready for adding MWBlockImageNode soon) 2013-04-24 16:49:07 -07:00
ve.ce.MWPreformattedNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.ce.MWReferenceListNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.MWReferenceNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.MWTemplateNode.js ve.ce.ProtectedNode 2013-05-07 00:08:48 +00:00
ve.ce.ParagraphNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.PreformattedNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.TableCaptionNode.js Add TableCaptionNode 2013-04-26 14:09:54 -07:00
ve.ce.TableCellNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.TableNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.TableRowNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.ce.TableSectionNode.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.ce.TextNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00