mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
a97f777685
* Introduce context object as specified for ve.dm.Node.static.toDataElement() * Remove wrapping variable in favor of context.wrapping * Remove wrappingIsOurs in favor of context.canCloseWrapper * Introduce originallyExpectingContent and use it to repopulate context.expectingContent after closing a wrapper * Replace most uses of branchHasContent with context.expectingContent ** Except for two cases where we need originallyExpectingContent These changes fix a case where a metaBlock was generated in an inline position. Updated the tests to reflect this. Change-Id: I6baf6053f8a3a0b7d91487f812b9235a7b2b3db1 |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
CODING.md | ||
LICENSE.txt | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
VisualEditor provides a visual editor for wiki pages. It is written in JavaScript and runs in a web browser. It uses the Parsoid parser to convert wikitext documents to annotated HTML which the VisualEditor is able to load, modify and emit back to Parsoid at which point it is converted back into wikitext. For more information about these projects, check out the wiki: * http://www.mediawiki.org/wiki/VisualEditor * http://www.mediawiki.org/wiki/Parsoid