the editor instance to get the plugin from
identifier for the plugin (by name or constructor)
Optional
onMissing: OnMissingPluginoptional callback invoked with plugin name, if plugin is missing. Defaults to some generic message on not found plugin at debug level.
Tries to get the recommended plugin (invokes has
prior to getting it) and
returns it, if available.
If missing, undefined
is returned and prior to that optional onMissing
gets invoked. onMissing
may be used, to log relevant effects.
the editor instance to get the plugin from
identifier for the plugin (by name or constructor)
Optional
onMissing: OnMissingPluginoptional callback invoked with plugin name, if plugin is missing. Defaults to some generic message on not found plugin at debug level.
Tries to get the recommended plugin (invokes
has
prior to getting it) and returns it, if available.If missing,
undefined
is returned and prior to that optionalonMissing
gets invoked.onMissing
may be used, to log relevant effects.