enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Store scroll position in Page Editor and scroll to it when saving #5821

Closed Bellfalasch closed 6 years ago

Bellfalasch commented 6 years ago

When editing any content, you can scroll inside the Page Editor. If your page is long, and your form too, it is handy to scroll the Page Editor down to the place you are currently editing in the form.

When saving, the form is not reloaded, but the Page Editor is, and the scroll position is reset to the top. This is very annoying on larger content types (ref writing articles on Webagility blog).

Could we on save (and publish) make sure scroll position in Page Editor is saved, and after the page is reloaded, instantly scroll down to that position after the page editor is reloaded.

alansemenov commented 6 years ago

Issue moved to enonic/xp-apps #332 via ZenHub

alansemenov commented 6 years ago

Done in https://github.com/enonic/xp-apps/issues/332