mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
6fd475e8ec
Though neat, this hack to get the internal list doesn't seem to be used and creates an invalid document (just an internal list with no content, so the internal list is at the start and the default selection position is inside it). Instead, use the ve.dm.Document.static.newBlankDocument() utility function that was made for this use case. Bug: T153509 Change-Id: Iba5931cb5e3f939a803c1d59fa0d8f30a0513f84 |
||
---|---|---|
.. | ||
annotations | ||
metaitems | ||
models | ||
nodes | ||
ve.dm.MWWikitextSurface.js | ||
ve.dm.MWWikitextSurfaceFragment.js |