getgrav / getgrav/grav-plugin-admin

Unsaved content is lost when XSS warning is displayed

Open
#2,103 2 comments 0 reactions 0 assignees View on GitHub
more info needed
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

Every time I get an XSS warning, whatever content I had writen before saving is lost. Can we get the warning (and a reference to which is the offending text) without reloading the page to the last saved position. The solution is to save all the time, but because Grav scrolls all the way back up when saved, it makes it impossible to work on any document longer than your screen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.