{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/acfb059457d47b1086189cddb2f3857c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"acfb059457d47b1086189cddb2f3857c","url":"https://api.github.com/users/igorsantos07","login":"igorsantos07","id":532299},"milestone":null,"assignee":null,"updated_at":"2011-11-08T13:03:58Z","labels":[],"comments":2,"closed_at":"2011-11-08T13:03:58Z","url":"https://api.github.com/repos/CakeDC/TinyMCE/issues/7","body":"As I read in the documentation, we should set the `$config` array with the settings we want.\r\nBut the question is: where we would place this piece of code?\r\nDirectly in this property declaration, inside the class? Or is there a better place to configure this helper?","html_url":"https://github.com/CakeDC/TinyMCE/issues/7","title":"How to configure the plugin for the entire project?","number":7,"id":2111213,"created_at":"2011-11-01T15:04:23Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/e48d3991c39176e224cd49e2cb51b314?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e48d3991c39176e224cd49e2cb51b314","url":"https://api.github.com/users/burzum","login":"burzum","id":162789},"updated_at":"2011-11-08T13:03:58Z","url":"https://api.github.com/repos/CakeDC/TinyMCE/issues/comments/2667177","body":"Well it's up to you how you do it as the documentation says.\r\n\r\n$this->TinyMce->config = Configure::read('YourTinyMce.config', ...);\r\n$this->TinyMce->display('simpleConfig');\r\n\r\nCould be one way for example. But I think there is room to improve this. I'll think about it and implement something in the near future.","id":2667177,"created_at":"2011-11-08T13:03:58Z"}}