Page MenuHomePhabricator

VisualEditor: Section edit link behaviour tweaks
Closed, ResolvedPublic

Description

Clicking the section edit link into VE has three minor issues:

  • The cursor is positioned at the start of the heading of that section; it should probably go to the start of the next element straight after the section (in most cases, a paragraph)
  • The page doesn't actually scroll to the correct area; ideally the page should be deliberately scrolled to that section (as it happens, you normally end up on roughly the right part because the page is already scrolled, but there are cases where VE pages are lengthier or shorter than PHP pages and so this can't be relied upon).
  • The toolbar only appears once you scroll (because it's triggered on page movement, and the page doesn't move at first to get to the section because it's already there) - this means that it suddenly pops into view a bit too late.

Version: unspecified
Severity: normal

Details

Reference
bz49563