{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/773","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/773/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/773/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/773/events","html_url":"https://github.com/WordPress/gutenberg/issues/773","id":228152713,"node_id":"MDU6SXNzdWUyMjgxNTI3MTM=","number":773,"title":"Implement styleselect equivalent for inline/CSS-class formatting","user":{"login":"mrwweb","id":1238696,"node_id":"MDQ6VXNlcjEyMzg2OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1238696?v=4","gravatar_id":"","url":"https://api.github.com/users/mrwweb","html_url":"https://github.com/mrwweb","followers_url":"https://api.github.com/users/mrwweb/followers","following_url":"https://api.github.com/users/mrwweb/following{/other_user}","gists_url":"https://api.github.com/users/mrwweb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrwweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrwweb/subscriptions","organizations_url":"https://api.github.com/users/mrwweb/orgs","repos_url":"https://api.github.com/users/mrwweb/repos","events_url":"https://api.github.com/users/mrwweb/events{/privacy}","received_events_url":"https://api.github.com/users/mrwweb/received_events","type":"User","site_admin":false},"labels":[{"id":567487067,"node_id":"MDU6TGFiZWw1Njc0ODcwNjc=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Component]%20TinyMCE","name":"[Component] TinyMCE","color":"fbca04","default":false},{"id":531680828,"node_id":"MDU6TGFiZWw1MzE2ODA4Mjg=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Type]%20Question","name":"[Type] Question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-11T23:55:43Z","updated_at":"2018-08-20T18:43:38Z","closed_at":"2017-08-18T19:58:43Z","author_association":"NONE","body":"Current TinyMCE (and therefore the WordPress post editor) supports the `styleselect`. This is an excellent way to allow editors to apply classes to HTML elements which is a great way to handle inline formatting like making a button or non-wrapper-block-element formatting like giving a paragraph a \"Notice\" or \"Intro text\" style.\r\n\r\nI currently don't see how this type of formatting would work with this editor, but losing this ability would be a huge loss for applying this kind of inline/simple formatting.\r\n\r\nIs re-implementing this type of feature on the roadmap at all? Is there another way this could be handled? Making an entire block type just for a \"button\" feels like overkill and doesn't address the ability to create inline span styles.\r\n\r\n- [TinyMCE documentation](http://archive.tinymce.com/wiki.php/Configuration3x:style_formats) | [TinyMCE Demo](https://www.tinymce.com//docs/demo/format-custom/) (\"Formats\" menu in second row)\r\n- [Codex documentation](https://codex.wordpress.org/TinyMCE_Custom_Styles#Using_style_formats)\r\n- [Example of usage from WordPress StackExchange](https://wordpress.stackexchange.com/questions/167685/add-css-class-to-link-in-tinymce-editor/167764#167764)\r\n\r\nHere's a screenshot on a site I've implemented it on:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1238696/25976494/30b64180-366a-11e7-9537-55a64e3a68b8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/414421148","html_url":"https://github.com/WordPress/gutenberg/issues/773#issuecomment-414421148","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/773","id":414421148,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQyMTE0OA==","user":{"login":"chrisvanpatten","id":1231306,"node_id":"MDQ6VXNlcjEyMzEzMDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1231306?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvanpatten","html_url":"https://github.com/chrisvanpatten","followers_url":"https://api.github.com/users/chrisvanpatten/followers","following_url":"https://api.github.com/users/chrisvanpatten/following{/other_user}","gists_url":"https://api.github.com/users/chrisvanpatten/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvanpatten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvanpatten/subscriptions","organizations_url":"https://api.github.com/users/chrisvanpatten/orgs","repos_url":"https://api.github.com/users/chrisvanpatten/repos","events_url":"https://api.github.com/users/chrisvanpatten/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvanpatten/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T18:43:38Z","updated_at":"2018-08-20T18:43:38Z","author_association":"CONTRIBUTOR","body":"I think this is covered in #4658 which is still open. Definitely recommend following along there."}}
{"actor":{"display_login":"chrisvanpatten"}}