mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
dae599ac2f
* Parsoid outputs bare newlines after a heading unless it's followed by a <p>, so strip leading and trailing newlines in all bare text * Adding a leading newline in <p>s is only needed if preceded by a heading, don't add it otherwise * Headings need a bare newline after them unless followed by a <p> * Headings also need a bare newline before them if preceded by a <pre> Change-Id: Ib02f800b26453541604e920fbb3845c51cdc6dea |
||
---|---|---|
api | ||
contentEditable | ||
demos | ||
modules | ||
tests | ||
.gitignore | ||
.gitreview | ||
ApiVisualEditor.php | ||
README | ||
SpecialVisualEditorSandbox.php | ||
VisualEditor.alias.php | ||
VisualEditor.hooks.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