mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński 5fb480fa9e Compatibility with new heading HTML
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
2024-03-08 18:54:45 +00:00
..
ce Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
dm MWBlockImageNode: Re-use existing captionData slice 2024-01-23 15:18:28 +00:00
init Compatibility with new heading HTML 2024-03-08 18:54:45 +00:00
preinit Compatibility with new heading HTML 2024-03-08 18:54:45 +00:00
tests Tests: Use CE HTML helpers 2024-02-01 15:30:22 +00:00
themes Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
ui styles: Update color in CSS from #d33 to #d73333 2024-02-29 15:16:24 -05:00
definedTransclusionSchema.json Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
enom.js Move verbose copyright message to AUTHORS.txt 2023-12-01 16:07:39 +00:00
ve.track.js Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-24 21:48:45 +01:00