MDL-81936 editor_tiny: handle default filepicker/draftitem config.
If they aren't passed in editor options config, ensure they still observe the registered option processor (type) for each.
This commit is contained in:
@@ -170,7 +170,10 @@ class editor extends \texteditor {
|
||||
'context' => $context->id,
|
||||
|
||||
// File picker options.
|
||||
'filepicker' => $fpoptions,
|
||||
'filepicker' => (object) $fpoptions,
|
||||
|
||||
// Default draft item ID.
|
||||
'draftitemid' => 0,
|
||||
|
||||
'currentLanguage' => current_language(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user