Closed nathancox closed 11 years ago
Normally TinyMCE config is loaded manually on LeftAndMain::init() so it's there no matter which page of the CMS you start from.
This means you can't add or modify HTMLEditorConfigs in getCMSFields.
Two options:
1) find a place to define all configs up front and have them loaded in init():
But where (besides _config.php) can you do that? Or is it supposed to be in _config? Doesn't seem tidy to me
2) find a way to have customScripts sent in the page load ajax response.
Normally TinyMCE config is loaded manually on LeftAndMain::init() so it's there no matter which page of the CMS you start from.
This means you can't add or modify HTMLEditorConfigs in getCMSFields.
Two options:
1) find a place to define all configs up front and have them loaded in init():
But where (besides _config.php) can you do that? Or is it supposed to be in _config? Doesn't seem tidy to me
2) find a way to have customScripts sent in the page load ajax response.