{"action":"opened","issue":{"url":"https://api.github.com/repos/elkarte/Elkarte/issues/2502","repository_url":"https://api.github.com/repos/elkarte/Elkarte","labels_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2502/labels{/name}","comments_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2502/comments","events_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2502/events","html_url":"https://github.com/elkarte/Elkarte/issues/2502","id":150025376,"number":2502,"title":"_setup_editor() not called (possibly PHP7)","user":{"login":"Frenzie","id":202757,"avatar_url":"https://avatars.githubusercontent.com/u/202757?v=3","gravatar_id":"","url":"https://api.github.com/users/Frenzie","html_url":"https://github.com/Frenzie","followers_url":"https://api.github.com/users/Frenzie/followers","following_url":"https://api.github.com/users/Frenzie/following{/other_user}","gists_url":"https://api.github.com/users/Frenzie/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzie/subscriptions","organizations_url":"https://api.github.com/users/Frenzie/orgs","repos_url":"https://api.github.com/users/Frenzie/repos","events_url":"https://api.github.com/users/Frenzie/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-21T09:55:31Z","updated_at":"2016-04-21T09:55:31Z","closed_at":null,"body":"I have mentions enabled (although the setting and the user-facing text have different names).\r\n\r\nFor the rich text editor, `$context['mentions_enabled']` is always empty.\r\n\r\n```\r\n\t\t// Mentions?\r\n\t\tif (!empty($context['mentions_enabled']))\r\n\t\t\tloadJavascriptFile(array('jquery.atwho.min.js', 'jquery.caret.min.js', 'mentioning.plugin.js'));\r\n```\r\n\r\nFor the simple one, _setup_editor() doesn't seem to be called in any way.\r\n\r\nI don't quite grasp the structure of the whole thing at this time, so I'm not really sure how to debug."}}