clecap / dante-delta

Contains delta work from mediawiki to dantewiki
0 stars 0 forks source link

Preview scroll down (important) #23

Open clecap opened 1 year ago

clecap commented 1 year ago

When editing, the scroll-down mechanism of the preview does not work properly. On a long page, we must scroll manually to see the preview of the portion we are currently editing. This is of a particular nuisance when we have multiple amsmath areas, and even more when one of them is a collapsible and we want to see earlier collapsibles while editing.

clecap commented 1 year ago

This has a second aspect: We cannot edit a collapsible amsmath (or any amsmath without its own section heading, for that reason) alone. That is an additional problem. If the second amsmath is long then we have to introduce a separate section line for editing (and we have to remove it again later, if we want the second amsmath to act as a collapsible).

So the second aspect is this: We ware forced to have a section separation when we want to edit an amsmath as the only amsmath - becaus otherwise there is no separate edit possibility.

So we want to have a rendering of section headers which does not interfere with the rendering as close-by collapsible.

The problem here is not scrolling but the interference of the section based editing with the rendering mode (which here does not want a section header).