I have always been under the impressions that using getOptions() will use User Settings, Context settings, then System settings, whichever it finds first. In other words, Context settings will override System Settings, and User settings will override Context settings and System Settings.
Apparently this is not exactly true.
In one case specifically, involving the Ace plugin, context settings must be specifically checked for.
With the original Ace code
$modx->getOption('use_editor')
will not recognize Context settings. That needs to be changed to
$modx->controller->context->getOption('use_editor')
Where do User settings come in here?
So does this mean that all component creators need to specifically check for User and Context settings instead of using $modx->getOption? Is this explained anywhere in the documentation?
https://github.com/modxcms/revolution/issues/11347