mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
41d8212573
HTML5 defines space characters as [ \r\n\t\f] in http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character. It treats these specially in a few contexts. As an example, the foster parenting algorithm does not apply to space characters. As a result, this change fixes the round-tripping of spaces between table tags, which were previously moved before the table. Change-Id: I32ab29275a9f824fc66d8286638eb42748cfc9a5 |
||
---|---|---|
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