{"action":"created","issue":{"url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/642","labels_url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/642/comments","events_url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/642/events","html_url":"https://github.com/umbraco/Umbraco-CMS/pull/642","id":58290249,"number":642,"title":"U4 6297","user":{"login":"AussieInSeattle","id":2397814,"avatar_url":"https://avatars.githubusercontent.com/u/2397814?v=3","gravatar_id":"","url":"https://api.github.com/users/AussieInSeattle","html_url":"https://github.com/AussieInSeattle","followers_url":"https://api.github.com/users/AussieInSeattle/followers","following_url":"https://api.github.com/users/AussieInSeattle/following{/other_user}","gists_url":"https://api.github.com/users/AussieInSeattle/gists{/gist_id}","starred_url":"https://api.github.com/users/AussieInSeattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AussieInSeattle/subscriptions","organizations_url":"https://api.github.com/users/AussieInSeattle/orgs","repos_url":"https://api.github.com/users/AussieInSeattle/repos","events_url":"https://api.github.com/users/AussieInSeattle/events{/privacy}","received_events_url":"https://api.github.com/users/AussieInSeattle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-19T23:54:01Z","updated_at":"2015-03-09T18:07:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/umbraco/Umbraco-CMS/pulls/642","html_url":"https://github.com/umbraco/Umbraco-CMS/pull/642","diff_url":"https://github.com/umbraco/Umbraco-CMS/pull/642.diff","patch_url":"https://github.com/umbraco/Umbraco-CMS/pull/642.patch"},"body":"As per comments in U4-6297.  \r\n\r\nTo use this merge:\r\n\r\nadd expected config.settings in your grid.editors.config.js file as follows:\r\n{\r\n    \"name\": \"RWC Headline\",\r\n    \"alias\": \"rwc-headline\",\r\n    \"view\": \"/app_plugins/rwc.grid.headline/editor.html\",\r\n    \"render\": \"/app_plugins/rwc.grid.headline/editor.cshtml\",\r\n    \"icon\": \"icon-coin\",\r\n    \"config\": {\r\n        \"settings\": [\r\n                {\r\n                    \"label\": \"Hide Background?\",\r\n                    \"description\": \"Check if you want to hide the gray'ish background color for the header\",\r\n                    \"key\": \"hideBackground\",\r\n                    \"view\": \"boolean\"\r\n                }\r\n        ]\r\n    }\r\n}\r\n\r\nIt results in anew icon next to your control that will show the \"settings editor\" for whatever you have defined in config.settings above - therefore a very quick way to put together some custom ui on a control.\r\n\r\nThen in your view you can use:\r\ncontrol.value.settings.hideBackground\r\n\r\nThen in your render you can use:\r\nModel.value.settings.hideBackground"},"comment":{"url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/comments/77909064","html_url":"https://github.com/umbraco/Umbraco-CMS/pull/642#issuecomment-77909064","issue_url":"https://api.github.com/repos/umbraco/Umbraco-CMS/issues/642","id":77909064,"user":{"login":"Jeavon","id":1829920,"avatar_url":"https://avatars.githubusercontent.com/u/1829920?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeavon","html_url":"https://github.com/Jeavon","followers_url":"https://api.github.com/users/Jeavon/followers","following_url":"https://api.github.com/users/Jeavon/following{/other_user}","gists_url":"https://api.github.com/users/Jeavon/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeavon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeavon/subscriptions","organizations_url":"https://api.github.com/users/Jeavon/orgs","repos_url":"https://api.github.com/users/Jeavon/repos","events_url":"https://api.github.com/users/Jeavon/events{/privacy}","received_events_url":"https://api.github.com/users/Jeavon/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T18:07:51Z","updated_at":"2015-03-09T18:07:51Z","body":"@AussieInSeattle just tried out this PR, great work!"}}