I am looking to add my snippets and autcompletions to the code editor. But I wanted to create these files outside the extension repo . So , I was lookign for a JS hook , so that , as soon Ace is loaded , my script is also loaded. Unfortunately , I couldn't find one.
The hook listed in the documentation is mediawiki hook codeEditor.configure.
When it says that it is possible to change the configuration of the ACE editor, by hooking into the MediaWiki JS hook codeEditor.configure
it seems that this hook is fired only when the page has content model of js, css or json (by looking here ). Any chance that this hook will be fired also when editing a math formula? I want to use the Ace editor session manage some math snippets