{"action":"opened","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/1207","repository_url":"https://api.github.com/repos/quilljs/quill","labels_url":"https://api.github.com/repos/quilljs/quill/issues/1207/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/1207/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/1207/events","html_url":"https://github.com/quilljs/quill/issues/1207","id":196844146,"number":1207,"title":"How to render Style Sizes on toolbar without custom toolbar html?","user":{"login":"SilverSting","id":69650,"avatar_url":"https://avatars.githubusercontent.com/u/69650?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverSting","html_url":"https://github.com/SilverSting","followers_url":"https://api.github.com/users/SilverSting/followers","following_url":"https://api.github.com/users/SilverSting/following{/other_user}","gists_url":"https://api.github.com/users/SilverSting/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverSting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverSting/subscriptions","organizations_url":"https://api.github.com/users/SilverSting/orgs","repos_url":"https://api.github.com/users/SilverSting/repos","events_url":"https://api.github.com/users/SilverSting/events{/privacy}","received_events_url":"https://api.github.com/users/SilverSting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T04:35:10Z","updated_at":"2016-12-21T04:35:10Z","closed_at":null,"body":"Trying to use inline styles for Size and Align.\r\nAlign options are shown on Toolbar fine, but having trouble with rendering Size options.\r\n\r\nFollowing setup gets me closest to what I want. But the labels for all sizes are set to 'Normal'. Is there a way to list the size options as 'Small', 'Normal', 'Large' and 'Huge' **without using custom toolbar html**?\r\n\r\n**Code**:\r\n```javascript\r\nvar styleSize = Quill.import('attributors/style/size'),\r\n  styleAlign = Quill.import('attributors/style/align');\r\n\r\nQuill.register(styleSize, true);\r\nQuill.register(styleAlign, true);\r\n\r\nvar quill = new Quill(element, {\r\n  theme: 'snow',\r\n  formats: ['size', 'bold', 'italic', 'color', 'background', 'list', 'align', 'link'],\r\n  modules: {\r\n    toolbar: [\r\n      [{'size': ['10px', false, '18px', '32px']}],\r\n      [{ 'align': [] }],\r\n      ['bold', 'italic'],\r\n      [{ 'list': 'ordered'}, { 'list': 'bullet' }],\r\n      [{ 'color': [] }, { 'background': [] }],\r\n      ['link'],\r\n      ['clean']\r\n    ]\r\n  }\r\n});\r\n```\r\n\r\n**Platforms**:\r\nUbuntu, Chrome\r\n\r\n**Version**:\r\n1.1.7\r\n\r\n"}}
{"actor":{"display_login":"SilverSting"}}