Go to file
Trevor Parscal 9a3784301b Improved test coverage for ve.dm.BranchNode.splice and ve.dm.TwigNode.splice
* Changed splice to check all elements about to be inserted are allowed before inserting any of them so that catching an exception leaves you in a sane state
* Fixed the order of execution of parent class constructors in ve.dm.LeafNode and ve.dm.TwigNode so that canHaveChildren and canHaveGrandchildren produce correct values and added tests to ensure these methods are correctly inherited in subclasses
* Added tests that check for exceptions when adding nodes that can have children to nodes that can not have grandchildren
* Added test that check for events being emitted before and after splicing, including that beforeSplice should be emitted even in cases where a splice fails and throws an exception because the nodes are incompatible (but afterSplice is not called in this case) since beforeSplice might modify the nodes in some way before the compatibility tests are run

Change-Id: Id12aea995a42c26ff63a74ae3d31f2bf455759e3
2012-04-19 17:45:58 -07:00
api should be in contents 2012-01-31 00:10:03 +00:00
contentEditable First implementation of IME for content editable 2012-02-09 00:51:59 +00:00
demos Add links in sandbox and demo to ve.dm.DocumentSychronizer.js 2012-04-02 13:28:09 -07:00
modules Improved test coverage for ve.dm.BranchNode.splice and ve.dm.TwigNode.splice 2012-04-19 17:45:58 -07:00
tests Improved test coverage for ve.dm.BranchNode.splice and ve.dm.TwigNode.splice 2012-04-19 17:45:58 -07:00
.gitreview Add .gitreview file 2012-03-22 13:54:55 -07:00
README update a couple notes in VE readme 2011-11-02 21:14:04 +00:00
SpecialVisualEditorSandbox.php unnecessary to define messages here, followup r105972 2011-12-13 09:34:05 +00:00
VisualEditor.alias.php Localisation updates for special pages and magic words for extensions from http://translatewiki.net. 2011-12-25 22:19:29 +00:00
VisualEditor.i18n.php Localisation updates for core and extension messages from translatewiki.net 2012-03-13 20:50:02 +00:00
VisualEditor.php Add links in sandbox and demo to ve.dm.DocumentSychronizer.js 2012-04-02 13:28:09 -07:00

We're starting to merge bits from Wikidom and ParserPlayground tests here.
Enjoy!

Short-term work highlights:
* convert parser to wikidom format & using the wikidom serializer
* port/update/write more tests
* Special: page to host the editor as a standalone demo
* Opt-in test mode to switch the editor in on EditPage (initially blank)
* Use serializer to save pages from editor
* Use parser to load pages into editor

Long-term work highlights:
* more thorough & bulk testing
* more extension support