Merge pull request #18242 from nextcloud/directEditingEditorWithId

add id to editor of direct editing
This commit is contained in:
Roeland Jago Douma 2019-12-05 19:48:50 +01:00 committed by GitHub
commit 4bf5a23ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class DirectEditingService {
*/
foreach ($this->directEditingManager->getEditors() as $id => $editor) {
$capabilities['editors'][$id] = [
'id' => $editor->getId(),
'name' => $editor->getName(),
'mimetypes' => $editor->getMimetypes(),
'optionalMimetypes' => $editor->getMimetypesOptional(),