{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/12782","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12782/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12782/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12782/events","html_url":"https://github.com/WordPress/gutenberg/issues/12782","id":389599054,"node_id":"MDU6SXNzdWUzODk1OTkwNTQ=","number":12782,"title":"Shortcode not saving when the commands have syntax errors","user":{"login":"clive-verrall","id":29688899,"node_id":"MDQ6VXNlcjI5Njg4ODk5","avatar_url":"https://avatars2.githubusercontent.com/u/29688899?v=4","gravatar_id":"","url":"https://api.github.com/users/clive-verrall","html_url":"https://github.com/clive-verrall","followers_url":"https://api.github.com/users/clive-verrall/followers","following_url":"https://api.github.com/users/clive-verrall/following{/other_user}","gists_url":"https://api.github.com/users/clive-verrall/gists{/gist_id}","starred_url":"https://api.github.com/users/clive-verrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clive-verrall/subscriptions","organizations_url":"https://api.github.com/users/clive-verrall/orgs","repos_url":"https://api.github.com/users/clive-verrall/repos","events_url":"https://api.github.com/users/clive-verrall/events{/privacy}","received_events_url":"https://api.github.com/users/clive-verrall/received_events","type":"User","site_admin":false},"labels":[{"id":896894826,"node_id":"MDU6TGFiZWw4OTY4OTQ4MjY=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Shortcodes","name":"Shortcodes","color":"fbca04","default":false},{"id":630674253,"node_id":"MDU6TGFiZWw2MzA2NzQyNTM=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Status]%20Needs%20More%20Info","name":"[Status] Needs More Info","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T05:09:35Z","updated_at":"2018-12-11T11:49:45Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nCreating a new page using Gutenberg editor, when I try to save a short code for the CoconutTickets plugin it underlines the short code with red syntax errors and it won't save. The editor displays \"update failed\" error banner in red. The contents of the square brackets are correct and relate to an installed and working plugin for Coconut Tickets. The contents of a short code string should not need to pass a grammar or syntax check.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Create a new page\r\n2. Insert a new short code such as [coconuttickets] that causes the syntax highlighter to underline the short code in red\r\n3. Click the editor update button\r\n4. See error banner message display \"update failed\" with no errors in the JS console\r\n\r\n**Expected behavior**\r\nThe editor should save the short code text regardless of what is inside the square brackets. It can't possibly know what is valid.\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n**Desktop (please complete the following information):**\r\n - Ubuntu 18.04\r\n - Chromium\r\n - Version 70.0.3538.110 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)\r\n\r\n\r\n\r\n**Additional context**\r\n- Using WordPress 5.0 official release downloaded 10th December 2018\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/446175339","html_url":"https://github.com/WordPress/gutenberg/issues/12782#issuecomment-446175339","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12782","id":446175339,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjE3NTMzOQ==","user":{"login":"clive-verrall","id":29688899,"node_id":"MDQ6VXNlcjI5Njg4ODk5","avatar_url":"https://avatars2.githubusercontent.com/u/29688899?v=4","gravatar_id":"","url":"https://api.github.com/users/clive-verrall","html_url":"https://github.com/clive-verrall","followers_url":"https://api.github.com/users/clive-verrall/followers","following_url":"https://api.github.com/users/clive-verrall/following{/other_user}","gists_url":"https://api.github.com/users/clive-verrall/gists{/gist_id}","starred_url":"https://api.github.com/users/clive-verrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clive-verrall/subscriptions","organizations_url":"https://api.github.com/users/clive-verrall/orgs","repos_url":"https://api.github.com/users/clive-verrall/repos","events_url":"https://api.github.com/users/clive-verrall/events{/privacy}","received_events_url":"https://api.github.com/users/clive-verrall/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T11:49:45Z","updated_at":"2018-12-11T11:49:45Z","author_association":"NONE","body":"I'm not using JetPack,  I have very few plugins activated. Please see the screenshot. There is a WP Baker page builder installed but it claims to be compatible with Gutenberg.\r\n\r\nYou raise a good point about the spell checker not being part of Gutenberg. This has got me wondering if it just a general problem saving the short code and nothing to do with the red underlining. However, I am still unable to save my own short code for Coconut Tickets.\r\n\r\nI am saving this in a short code block as the screenshots should illustrate.\r\n\r\nOn the network tab or the developer console I can see 400 errors (see screen shot).\r\n\r\nThanks for looking into this.\r\n\r\n![screenshot from 2018-12-11 18-47-31](https://user-images.githubusercontent.com/29688899/49798654-5e4e7080-fd75-11e8-8cc3-928cbc00b487.png)\r\n\r\n\r\n![screenshot from 2018-12-11 18-37-01](https://user-images.githubusercontent.com/29688899/49798078-fd726880-fd73-11e8-87e9-f822bb95ce62.png)\r\n![screenshot from 2018-12-11 18-36-12](https://user-images.githubusercontent.com/29688899/49798080-fe0aff00-fd73-11e8-83a8-00feb64567e1.png)\r\n![screenshot from 2018-12-11 18-35-18](https://user-images.githubusercontent.com/29688899/49798081-fe0aff00-fd73-11e8-9a7b-8205fc66a01a.png)\r\n![screenshot from 2018-12-11 18-41-38](https://user-images.githubusercontent.com/29688899/49798250-6e198500-fd74-11e8-949b-fa9b84e490e7.png)\r\n"}}
{"actor":{"display_login":"clive-verrall"}}