mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
5fb480fa9e
Small fix to support new HTML markup for headings, which will soon be used by Parsoid page views (T269630) and by the old parser (T13555). This fixes two issues that were only apparent when using `$wgVisualEditorEnableVisualSectionEditing = true`: * When starting an edit from a section edit link, the viewport was not scrolled to align with the clicked heading and thus didn't provide a smooth transition into edit mode. * If the editor was started from a section edit link, then when leaving the editor without saving changes, the viewport would jump to the top of the page instead of returning to the clicked heading. This is similar to change If71d4d8292 in MobileFrontend editor. Bug: T13555 Change-Id: I89f8abac521e635f8eaa782703bdb6f6323098b0 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
preinit | ||
tests | ||
themes | ||
ui | ||
definedTransclusionSchema.json | ||
enom.js | ||
ve.track.js |