mediawiki-extensions-Visual.../modules/ve
Catrope e148234c29 Render inline annotations in CE
Moved annotation rendering from ce.Textnode into the new
ce.ContentBranchNode class. This allows us to render annotations that
span across multiple nodes.

* Add ce.ContentBranchNode, inheriting ce.BranchNode
* Make ce.{Paragraph,Heading,Preformatted}Node inherit ce.ContentBranchNode
* Made ce.ContentBranchNode render its child nodes with anntations,
  using .getAnnotatedHtml() on the child nodes
* Put a default implementation for .getAnnotatedHtml() in ce.LeafNode
* Override this in ce.TextNode to do escaping and whitespace handling
* Removed rendering code from ce.TextNode (this.$ is now unused there)
* Removed ce.TextNode.onUpdate() and ce.BranchNode.clean(), now unneeded
* Have ce.BranchNode propagate update events from children, so
  ce.ContentBranchNode can rerender when its children change
* Update tests, add test case for escaping of &<>'"

Change-Id: I4600e984b287c6ff9267f4281d2f09bab9e1ad95
2012-11-28 11:21:59 -08:00
..
actions Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ce Render inline annotations in CE 2012-11-28 11:21:59 -08:00
dm Fix rebase artefact in ve.dm.Node.getAttributes() 2012-11-28 11:20:54 -08:00
init (bug 42402) Split out two cases so as not to throw an error 2012-11-23 18:25:23 -08:00
test Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ui Added contextChange event to surface model, replacing annotationChange 2012-11-26 15:57:02 -08:00
ve.Action.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.ActionFactory.js Add ve.Action, ve.ActionFactory, subclasses 2012-10-26 14:44:17 -07:00
ve.AnnotationSet.js Fix UI for annotation API changes 2012-10-12 17:53:42 -07:00
ve.BranchNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Command.js Added some more key bindings for IE and Mozilla support 2012-11-07 16:49:34 -08:00
ve.CommandRegistry.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.debug.js Setup variable ve.debug to true when ve.debug.js is loaded. 2012-10-03 18:02:31 -07:00
ve.Document.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.EventEmitter.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Factory.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.js Only apply HTML attributes to DOM nodes that are "safe" 2012-11-27 14:34:29 -08:00
ve.LeafNode.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.Node.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.OrderedHashSet.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Position.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Range.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Registry.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.Surface.js (bug 42277) First character in empty document behaves strangely in Firefox 2012-11-26 21:39:01 +00:00