Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Trying to delete last empty space after a non text block at end of bard field causes browser to go back to previous page #1743
I'd assume trying to delete an empty space would simply delete that empty space
In a bard field, if an extra line of space has ended up at the end of the field, directly following a non text block, and you go to delete it like you would any other empty line of space in a wysiwig or textarea, etc., the browser tries to just go back to the previous page. IF you've recently been "save and continue" ing, the "Are you sure?" warning flashes on the screen for a second, but before you're able to respond, it just goes back to the previous page. IF you've recently been just "save" ing, the "Are you sure?" warning displays, and the "This page is asking you to confirm that you want to leave - data you have entered may not be saved." alert displays, and you are able to respond or cancel, without actually going back in the browser.
Steps to reproduce
Operating System: macOS High Sierra 10.13.2 (working locally)
Web Server: Apache (via mamp pro)
PHP Version: 7.1.8
Statamic Version: 2.8.2
Updated from an older Statamic or fresh install: Updated
List of installed addons: None
If any logs (browser, server, or Statamic) are appropriate...
``` Paste em here ```