mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
910f2ed87a
This mode strips all newlines from the html source before serializing it back to wikitext, thus simulating newline-less DOM output from the VE. This simplistic method also strips newlines in preformatted text, which will show up as noise in the diff. This simple mode is still useful for the identification of basic newline-less DOM serialization issues. An improved version could try to approximate the VE's behavior more closely by only stripping some newlines. Due to the experimental nature this mode is not linked from the index page for now. Change-Id: I1dfec7ec3e6c12b7de4bbb9ff6f2d8b7834e2857 |
||
---|---|---|
api | ||
contentEditable | ||
demos | ||
modules | ||
tests | ||
.gitignore | ||
.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