diff --git a/lib/private/DirectEditing/Manager.php b/lib/private/DirectEditing/Manager.php index 085a7de557..353faedf7e 100644 --- a/lib/private/DirectEditing/Manager.php +++ b/lib/private/DirectEditing/Manager.php @@ -88,7 +88,9 @@ class Manager implements IManager { $templates = $creator->getTemplates(); } } - return $templates; + $return = []; + $return['templates'] = $templates; + return $return; } public function create(string $path, string $editorId, string $creatorId, $templateId = null): string {