diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-05 19:48:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 19:48:50 +0100 |
commit | 4bf5a23ec04539654b82170d9a4e6dabd21efa56 (patch) | |
tree | e29292a81d5daea8b906297e3534431fe23be168 /apps/files/lib | |
parent | 12bdb95c1a40170652570decef7f466e4b97aa65 (diff) | |
parent | fdaf9aed1f0c860ce09586599e368bb0f6300fa0 (diff) | |
download | nextcloud-server-4bf5a23ec04539654b82170d9a4e6dabd21efa56.tar.gz nextcloud-server-4bf5a23ec04539654b82170d9a4e6dabd21efa56.zip |
Merge pull request #18242 from nextcloud/directEditingEditorWithId
add id to editor of direct editing
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Service/DirectEditingService.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Service/DirectEditingService.php b/apps/files/lib/Service/DirectEditingService.php index 191a053b80a..a05d4f52385 100644 --- a/apps/files/lib/Service/DirectEditingService.php +++ b/apps/files/lib/Service/DirectEditingService.php @@ -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(), |