{"action":"created","issue":{"url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/35","repository_url":"https://api.github.com/repos/miztroh/wysiwyg-e","labels_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/35/comments","events_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/35/events","html_url":"https://github.com/miztroh/wysiwyg-e/pull/35","id":132845291,"number":35,"title":"Add GitHub styles","user":{"login":"chuckh","id":19915,"avatar_url":"https://avatars.githubusercontent.com/u/19915?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckh","html_url":"https://github.com/chuckh","followers_url":"https://api.github.com/users/chuckh/followers","following_url":"https://api.github.com/users/chuckh/following{/other_user}","gists_url":"https://api.github.com/users/chuckh/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckh/subscriptions","organizations_url":"https://api.github.com/users/chuckh/orgs","repos_url":"https://api.github.com/users/chuckh/repos","events_url":"https://api.github.com/users/chuckh/events{/privacy}","received_events_url":"https://api.github.com/users/chuckh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T23:10:09Z","updated_at":"2016-02-11T01:41:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/miztroh/wysiwyg-e/pulls/35","html_url":"https://github.com/miztroh/wysiwyg-e/pull/35","diff_url":"https://github.com/miztroh/wysiwyg-e/pull/35.diff","patch_url":"https://github.com/miztroh/wysiwyg-e/pull/35.patch"},"body":"This adds github css styles to editor and demo2.html using paper-material container and PSK's readme.md.\r\n\r\n## Demo2\r\n![image](https://cloud.githubusercontent.com/assets/19915/12965028/2e7bf8ca-d008-11e5-8ff5-3f4da03211a2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/comments/182669407","html_url":"https://github.com/miztroh/wysiwyg-e/pull/35#issuecomment-182669407","issue_url":"https://api.github.com/repos/miztroh/wysiwyg-e/issues/35","id":182669407,"user":{"login":"chuckh","id":19915,"avatar_url":"https://avatars.githubusercontent.com/u/19915?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckh","html_url":"https://github.com/chuckh","followers_url":"https://api.github.com/users/chuckh/followers","following_url":"https://api.github.com/users/chuckh/following{/other_user}","gists_url":"https://api.github.com/users/chuckh/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckh/subscriptions","organizations_url":"https://api.github.com/users/chuckh/orgs","repos_url":"https://api.github.com/users/chuckh/repos","events_url":"https://api.github.com/users/chuckh/events{/privacy}","received_events_url":"https://api.github.com/users/chuckh/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T01:41:17Z","updated_at":"2016-02-11T01:41:17Z","body":"The second demo was created to have more elaborate content (images, code, quotes, etc).  I choose the PSK readme.md since it already has that type of content.  Since this is an editor I thought showing any other content for editing would be ok.\r\n\r\nSince you are using the marked-element which supports Github markdown I created the github-styles.html based on https://github.com/sindresorhus/github-markdown-css. To show what is possible.\r\n\r\n> I'm not opposed to offering some built-in styles to the editable content. Anything built-in needs to address only standard element tags, not classes, attributes, custom tags, etc. Also, these rules need to be overridable using custom properties. Then, demos can override to offer specific CSS like what you're suggesting.\r\n\r\n^^^ I agree. \r\n\r\nI tried put some css in demo file for editable content but it did not work. Only could get it working by adding to wysiwyg-e element.  Do you have example how you would do this in demo file?\r\n\r\nYou might also consider built-in styles for toobar background color and foreground color.\r\n\r\n\r\n\r\n\r\n\r\n "}}