{"action":"opened","issue":{"url":"https://api.github.com/repos/modxcms/tinymce-rte/issues/12","labels_url":"https://api.github.com/repos/modxcms/tinymce-rte/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/tinymce-rte/issues/12/comments","events_url":"https://api.github.com/repos/modxcms/tinymce-rte/issues/12/events","html_url":"https://github.com/modxcms/tinymce-rte/issues/12","id":62760886,"number":12,"title":"Add \"default_config\" settings TinyMCE","user":{"login":"kratkar","id":356932,"avatar_url":"https://avatars.githubusercontent.com/u/356932?v=3","gravatar_id":"","url":"https://api.github.com/users/kratkar","html_url":"https://github.com/kratkar","followers_url":"https://api.github.com/users/kratkar/followers","following_url":"https://api.github.com/users/kratkar/following{/other_user}","gists_url":"https://api.github.com/users/kratkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kratkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratkar/subscriptions","organizations_url":"https://api.github.com/users/kratkar/orgs","repos_url":"https://api.github.com/users/kratkar/repos","events_url":"https://api.github.com/users/kratkar/events{/privacy}","received_events_url":"https://api.github.com/users/kratkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-18T18:02:12Z","updated_at":"2015-03-18T18:02:12Z","closed_at":null,"body":"For the configurations plugin and other configurations TinyMCE.\r\nSomething so(tinymcerteonrichtexteditorinit.class.php):\r\n<pre><code>\r\n$defaultConfig = $this->tinymcerte->getOption('default_config', array(), '{}');\r\n$defaultConfig = $this->modx->fromJSON($defaultConfig);\r\nif (!is_array($defaultConfig)) {\r\n  $defaultConfig = array();\r\n}\r\n$config = array(\r\n  ...\r\n);\r\n$config = array_merge_recursive($config, $defaultConfig);\r\n</code></pre>\r\nAnd you can move some settings in \"default_config\". Or leave?"}}