mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
98351fbcf3
Resolving attributes means turning 'href' and 'src' URLs from possibly relative to absolute, so that they don't depend on the base URI of the document. This is necessary when rendering for clipboard (and in some other cases), but at the point when toDomElements() is called, the document these elements are in does not necessary have a sane base URI set, giving us hrefs pointing to nonexistent pages. Don't do it here; it will happen later when we know what the right document (and right base URI) is, e.g. in ve.ce.Surface#onCopy or ve.ui.PreviewElement#replaceWithModelDom. Bug: T169675 Bug: T175157 Change-Id: Ie0a5d6e1c57b8efdbbfba0c24f31ca91d156e200 |
||
---|---|---|
.. | ||
annotations | ||
metaitems | ||
models | ||
nodes | ||
ve.dm.MWWikitextSurface.js | ||
ve.dm.MWWikitextSurfaceFragment.js |