{"action":"closed","issue":{"url":"https://api.github.com/repos/statamic/v2-hub/issues/1751","repository_url":"https://api.github.com/repos/statamic/v2-hub","labels_url":"https://api.github.com/repos/statamic/v2-hub/issues/1751/labels{/name}","comments_url":"https://api.github.com/repos/statamic/v2-hub/issues/1751/comments","events_url":"https://api.github.com/repos/statamic/v2-hub/issues/1751/events","html_url":"https://github.com/statamic/v2-hub/issues/1751","id":291278024,"number":1751,"title":"Blank line at beginning of bard field nearly impossible to remove","user":{"login":"beckysoll","id":5340428,"avatar_url":"https://avatars3.githubusercontent.com/u/5340428?v=4","gravatar_id":"","url":"https://api.github.com/users/beckysoll","html_url":"https://github.com/beckysoll","followers_url":"https://api.github.com/users/beckysoll/followers","following_url":"https://api.github.com/users/beckysoll/following{/other_user}","gists_url":"https://api.github.com/users/beckysoll/gists{/gist_id}","starred_url":"https://api.github.com/users/beckysoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckysoll/subscriptions","organizations_url":"https://api.github.com/users/beckysoll/orgs","repos_url":"https://api.github.com/users/beckysoll/repos","events_url":"https://api.github.com/users/beckysoll/events{/privacy}","received_events_url":"https://api.github.com/users/beckysoll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-24T16:42:05Z","updated_at":"2018-02-02T14:05:05Z","closed_at":"2018-02-02T14:05:05Z","author_association":"NONE","body":"### Expected behaviour\r\nThere should be some way to remove a blank line at the beginning of the field that has been saved in the md as an empty or pre-exisitng text block.\r\n\r\n### Actual behaviour\r\na `<br>` seems to get saved in the extra line, then if you delete the html from the code view and save, or save and continue and then refresh, you end up with a blank text set that you cannot delete, and refreshing/saving again you end up with 'undefined' within the text block. trying to delete undefined does nothing. After you go through all of this, it doesn't seem like the plus sign that would allow you to delete it ever pops up.\r\n\r\nI've found two ways to get around this but neither are great:\r\n1. delete the set from the .md file itself\r\n2. keep dragging other types of sets up, above the blank line, until it joins with another existing text block. then you can delete it. That can be tricky and messy, depending on how much content you have within the field.\r\n\r\n### Steps to reproduce\r\n1.  edit a bard field\r\n2.  place cursor at the top so a new line appears\r\n3.  save, delete the <br> that appears in the code for that line, save again.\r\n\r\n### Server Details\r\n\r\nOperating System: macOS High Sierra 10.13.2 (working locally)\r\n\r\nBrowser: Firefox 57.0.4, Chrome 63.0.3239.132\r\n\r\nWeb Server: Apache (via mamp pro)\r\n\r\nPHP Version: 7.1.8\r\n\r\nStatamic Version: 2.8.3\r\n\r\nUpdated from an older Statamic or fresh install: Updated\r\n\r\nList of installed addons: None"}}
{"actor":{"display_login":"jackmcdade"}}