mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
9787166bab
AnnotationAction and SurfaceFragment now use insertAnnotations. ve.dm.Surface.test * Removed test for annotate method (not needed anymore) ve.dm.SurfaceFragment * Now using getInsertionAnnotations method * Added support for modifying insertion annotations when annotating a zero-length selection ve.dm.Surface * Moved in insertion annotations state from document model * Added insertion annotation interface (enable, disable, areEnabled, get, set, add, and remove) * Simplified handling of annotations on change * Removed annotate method (not used anymore) ve.dm.Document * Removed insertion annotations (moved it to surface model) ve.ce.Surface * Cleaned up handleInsertion and changed it to use the insertion annotations interface on the surface model ve.AnnotationAction * Moved insertion annotation handling out of here since it's now included in the surface fragment Change-Id: I047d656acf7fa1c63f726ca2b0801e1476f84f96 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
ve.dm.Annotation.js | ||
ve.dm.AnnotationFactory.js | ||
ve.dm.BranchNode.js | ||
ve.dm.Converter.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.SurfaceFragment.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |