{"action":"created","issue":{"url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/4","repository_url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg","labels_url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/4/comments","events_url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/4/events","html_url":"https://github.com/jpuri/react-draft-wysiwyg/issues/4","id":184254118,"number":4,"title":"Custom toolbar","user":{"login":"mathieumg","id":1624812,"avatar_url":"https://avatars.githubusercontent.com/u/1624812?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieumg","html_url":"https://github.com/mathieumg","followers_url":"https://api.github.com/users/mathieumg/followers","following_url":"https://api.github.com/users/mathieumg/following{/other_user}","gists_url":"https://api.github.com/users/mathieumg/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumg/subscriptions","organizations_url":"https://api.github.com/users/mathieumg/orgs","repos_url":"https://api.github.com/users/mathieumg/repos","events_url":"https://api.github.com/users/mathieumg/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-20T14:59:46Z","updated_at":"2016-10-26T07:58:12Z","closed_at":null,"body":"Really promising project you have here! We've been looking to part ways with Summernote for a while now and this might just be it. Would you be open to having a way to configure the toolbar through props a bit like it's done in Summernote: http://summernote.org/deep-dive/#custom-toolbar-popover\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/comments/256276114","html_url":"https://github.com/jpuri/react-draft-wysiwyg/issues/4#issuecomment-256276114","issue_url":"https://api.github.com/repos/jpuri/react-draft-wysiwyg/issues/4","id":256276114,"user":{"login":"jpuri","id":2182307,"avatar_url":"https://avatars.githubusercontent.com/u/2182307?v=3","gravatar_id":"","url":"https://api.github.com/users/jpuri","html_url":"https://github.com/jpuri","followers_url":"https://api.github.com/users/jpuri/followers","following_url":"https://api.github.com/users/jpuri/following{/other_user}","gists_url":"https://api.github.com/users/jpuri/gists{/gist_id}","starred_url":"https://api.github.com/users/jpuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpuri/subscriptions","organizations_url":"https://api.github.com/users/jpuri/orgs","repos_url":"https://api.github.com/users/jpuri/repos","events_url":"https://api.github.com/users/jpuri/events{/privacy}","received_events_url":"https://api.github.com/users/jpuri/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T07:58:12Z","updated_at":"2016-10-26T07:58:12Z","body":"Prop to customize toolbar will be simple JS object:\r\n\r\ntoolbar = {\r\n  inline: {\r\n    visible: true,\r\n    inDropdown: true,\r\n    bold: { visible: true, icon: 'xxx.png', },\r\n    italic: { visible: true, icon: 'xxx.png', },\r\n    underline: { visible: true, icon: 'xxx.png', },\r\n    strikeThrough: { visible: true, icon: 'xxx.png', }\r\n    monospace: { visible: true, icon: 'xxx.png', }\r\n  },\r\n  blockType: { visible: true, },\r\n  fontSize: { visible: true, icon: 'xxx.png', }\r\n  fontFamily: { visible: true, }\r\n  list: {\r\n    visible: true,\r\n    inDropdown: true,\r\n    unordered: { visible: true, icon: 'xxx.png', },\r\n    ordered: { visible: true, icon: 'xxx.png', },\r\n    indent: { visible: true, icon: 'xxx.png', },\r\n    outdent: { visible: true, icon: 'xxx.png', }\r\n  },\r\n  ...\r\n}\r\n\r\nAll `visible` properties will be true by default and all `inDropdown` will be false."}}
{"actor":{"display_login":"jpuri"}}