mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
27875c8220
ve.dm.Converter and ve.ce.ContentBranchNode were duplicating a fair bit of logic for annotation rendering. Moved the annotation opening and closing logic into ve.dm.Converter.openAndCloseAnnotations, and implemented both annotation rendering code paths in terms of that function with callbacks for caller-specific behavior. Change-Id: I7cba7d2fda7002287b07949a1b8120ba80bfe854 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
styles | ||
ve.ce.Annotation.js | ||
ve.ce.AnnotationFactory.js | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.DomRange.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js | ||
ve.ce.View.js |