mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
ff414ad825
Anything with data-gen="both" and dataAttribs.src defined serializes to dataAttribs.src and drops its contents (if any). We can use this to round-trip elements we don't properly parse or serialize yet. Without RDFa info, the editor will not touch the contents after encountering data-gen="both". Change-Id: Ia39e5fdd765c2c9b36f26313455685d29f118839 |
||
---|---|---|
api | ||
demos | ||
modules | ||
tests | ||
.gitignore | ||
.gitreview | ||
ApiVisualEditor.php | ||
README | ||
SpecialVisualEditorSandbox.php | ||
VisualEditor.alias.php | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.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