mediawiki-extensions-Visual.../modules/ve/ce/nodes
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
..
ve.ce.AlienBlockNode.js The last ever mw.ext.ve jshint fixup 2012-11-26 22:36:07 +01:00
ve.ce.AlienInlineNode.js Phantoms not vanishing on mouseout 2012-11-16 11:32:59 -08:00
ve.ce.AlienNode.js The last ever mw.ext.ve jshint fixup 2012-11-26 22:36:07 +01:00
ve.ce.BreakNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.CenterNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.ce.DefinitionListItemNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.DefinitionListNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.DocumentNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.HeadingNode.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.ImageNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.ListItemNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.ListNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.MetaBlockNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.ce.MetaInlineNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.ce.MWEntityNode.js Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
ve.ce.ParagraphNode.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.PreformattedNode.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.TableCellNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableRowNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableSectionNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TextNode.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00