{"action":"created","issue":{"url":"https://api.github.com/repos/modxcms/fred/issues/17","repository_url":"https://api.github.com/repos/modxcms/fred","labels_url":"https://api.github.com/repos/modxcms/fred/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/fred/issues/17/comments","events_url":"https://api.github.com/repos/modxcms/fred/issues/17/events","html_url":"https://github.com/modxcms/fred/issues/17","id":343797584,"node_id":"MDU6SXNzdWUzNDM3OTc1ODQ=","number":17,"title":"RTE Config ","user":{"login":"alienbuild","id":32590877,"node_id":"MDQ6VXNlcjMyNTkwODc3","avatar_url":"https://avatars1.githubusercontent.com/u/32590877?v=4","gravatar_id":"","url":"https://api.github.com/users/alienbuild","html_url":"https://github.com/alienbuild","followers_url":"https://api.github.com/users/alienbuild/followers","following_url":"https://api.github.com/users/alienbuild/following{/other_user}","gists_url":"https://api.github.com/users/alienbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/alienbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alienbuild/subscriptions","organizations_url":"https://api.github.com/users/alienbuild/orgs","repos_url":"https://api.github.com/users/alienbuild/repos","events_url":"https://api.github.com/users/alienbuild/events{/privacy}","received_events_url":"https://api.github.com/users/alienbuild/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T21:12:16Z","updated_at":"2018-07-24T06:55:52Z","closed_at":null,"author_association":"NONE","body":"Is it possible to get an example rte config value please? Assume its a set of json values as with other rich text editors. \r\n"},"comment":{"url":"https://api.github.com/repos/modxcms/fred/issues/comments/407301556","html_url":"https://github.com/modxcms/fred/issues/17#issuecomment-407301556","issue_url":"https://api.github.com/repos/modxcms/fred/issues/17","id":407301556,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzMwMTU1Ng==","user":{"login":"theboxer","id":845220,"node_id":"MDQ6VXNlcjg0NTIyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/845220?v=4","gravatar_id":"","url":"https://api.github.com/users/theboxer","html_url":"https://github.com/theboxer","followers_url":"https://api.github.com/users/theboxer/followers","following_url":"https://api.github.com/users/theboxer/following{/other_user}","gists_url":"https://api.github.com/users/theboxer/gists{/gist_id}","starred_url":"https://api.github.com/users/theboxer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theboxer/subscriptions","organizations_url":"https://api.github.com/users/theboxer/orgs","repos_url":"https://api.github.com/users/theboxer/repos","events_url":"https://api.github.com/users/theboxer/events{/privacy}","received_events_url":"https://api.github.com/users/theboxer/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T06:55:52Z","updated_at":"2018-07-24T06:55:52Z","author_association":"MEMBER","body":"Hello,\r\nif you mean rte_config in system settings, it takes a name of chunk with rte configs.\r\n\r\nIn the chunk, you return an object in a format:\r\n```json\r\n{\r\n\"configName\": {\r\n  rte-specific options\r\n  }\r\n}\r\n```\r\nAn example for showing just bold option in rte:\r\n```json\r\n{\r\n  \"global-test\": {\r\n    \"selection_toolbar\": \"bold\"\r\n  }\r\n}\r\n```\r\n\r\nand then use `global-test` on the rte element:\r\n`<div contenteditable=\"true\" data-fred-rte=\"true\" data-fred-rte-config=\"global-test\" data-fred-name=\"text\">Init value</div>`\r\n\r\nI know some of these attributes are missing from docs, I'll try to adjust the docs this week. \r\n"}}
{"actor":{"display_login":"theboxer"}}