mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
8baf7a1df9
Add .insertMeta() and .removeMeta() methods to insert and remove metadata through the meta list. For convenience, there is also a .remove() method in MetaItem that wraps around removeMeta(). Also rename insertItem() and removeItem() to addInsertedItem() and deleteRemovedItem() to avoid confusion, and make the MetaList constructor take a dm.Surface rather than a document so we can call change(). Change-Id: I4b62a3109404cfd56f5de68938e1db908b03e678 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
image.png | ||
index.php | ||
ve.AnnotationSet.test.js | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.Factory.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.qunit.js | ||
ve.Range.test.js | ||
ve.test.js | ||
ve.Trigger.test.js |