{"action":"created","issue":{"url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/794","repository_url":"https://api.github.com/repos/Alex-D/Trumbowyg","labels_url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/794/comments","events_url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/794/events","html_url":"https://github.com/Alex-D/Trumbowyg/issues/794","id":329631140,"node_id":"MDU6SXNzdWUzMjk2MzExNDA=","number":794,"title":"Dynamically populate the template list","user":{"login":"pierr0t","id":1298608,"node_id":"MDQ6VXNlcjEyOTg2MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1298608?v=4","gravatar_id":"","url":"https://api.github.com/users/pierr0t","html_url":"https://github.com/pierr0t","followers_url":"https://api.github.com/users/pierr0t/followers","following_url":"https://api.github.com/users/pierr0t/following{/other_user}","gists_url":"https://api.github.com/users/pierr0t/gists{/gist_id}","starred_url":"https://api.github.com/users/pierr0t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierr0t/subscriptions","organizations_url":"https://api.github.com/users/pierr0t/orgs","repos_url":"https://api.github.com/users/pierr0t/repos","events_url":"https://api.github.com/users/pierr0t/events{/privacy}","received_events_url":"https://api.github.com/users/pierr0t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-05T21:26:22Z","updated_at":"2018-06-07T07:41:16Z","closed_at":"2018-06-06T07:39:54Z","author_association":"NONE","body":"Hi,\r\nNot a bug, more like a feature request :-)\r\n\r\nIs it possible to dynamically populate the trumbowyg template list ? \r\n\r\nin my scheme, templates are stored in a mysql database. A PHP code and query populates a list of divs with 2 data attributes (one for name, one for html). \r\nThen a jquery code gets all that data into a string similar to the trumbowyg list of templates ... how do I get to put that string into the trumbowyg list of templates ... I would need the ability to call a function returning my string within the `template:[]` syntax ... ?\r\n\r\nImpossible or am I missing something ? \r\nThanks.\r\nPierre\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/comments/395324320","html_url":"https://github.com/Alex-D/Trumbowyg/issues/794#issuecomment-395324320","issue_url":"https://api.github.com/repos/Alex-D/Trumbowyg/issues/794","id":395324320,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMyNDMyMA==","user":{"login":"pierr0t","id":1298608,"node_id":"MDQ6VXNlcjEyOTg2MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1298608?v=4","gravatar_id":"","url":"https://api.github.com/users/pierr0t","html_url":"https://github.com/pierr0t","followers_url":"https://api.github.com/users/pierr0t/followers","following_url":"https://api.github.com/users/pierr0t/following{/other_user}","gists_url":"https://api.github.com/users/pierr0t/gists{/gist_id}","starred_url":"https://api.github.com/users/pierr0t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierr0t/subscriptions","organizations_url":"https://api.github.com/users/pierr0t/orgs","repos_url":"https://api.github.com/users/pierr0t/repos","events_url":"https://api.github.com/users/pierr0t/events{/privacy}","received_events_url":"https://api.github.com/users/pierr0t/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T07:41:16Z","updated_at":"2018-06-07T07:41:16Z","author_association":"NONE","body":"I really feel stupid ... I was looking as those settings as some json-like syntax, it's just an array ... I spent hours and hours testing this and then even looking at 10th of other wysiwyg editors but yours, with that template capability is the best.\r\nThanks for your kind answers."}}
{"actor":{"display_login":"pierr0t"}}