]> BookStack Code Mirror - bookstack/commit
Updated image drop handling to respect original file name
authorDan Brown <redacted>
Tue, 7 Jun 2022 13:59:00 +0000 (14:59 +0100)
committerDan Brown <redacted>
Tue, 7 Jun 2022 13:59:00 +0000 (14:59 +0100)
commit3fe666f36a7642c7910e6e0dc2f44916931a00b1
tree17804b6c133491542d99c9a1f165d75954109d55
parent3f271ebecb17fe220851abf5b6f3614bd0bf566c
Updated image drop handling to respect original file name

Now uses the previously timestamp gen name as a backup to the original
name. Aligns with the image manager upload which uses the original name
where given.

Closes #3470
resources/js/wysiwyg/drop-paste-handling.js