mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
ca17ea0943
This makes TransactionProcessor work for regular replacements, as well as insertions and deletions of self-contained pieces of data. This does NOT yet work for inserting and deleting unbalanced data (splitting/merging nodes). I've tested this from the console for insertions and deletions and simple replacements, but I haven't tested wrappings. We should write a bunch of unit tests for this some time :) Change-Id: Ic2fd75d1cf2e127bc9ae58debce67576be2c912f |
||
---|---|---|
api | ||
contentEditable | ||
demos | ||
modules | ||
tests | ||
.gitreview | ||
README | ||
SpecialVisualEditorSandbox.php | ||
VisualEditor.alias.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php |
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