Skip to content

Commit 4bf5a23

Browse files
authored
Merge pull request #18242 from nextcloud/directEditingEditorWithId
add id to editor of direct editing
2 parents 12bdb95 + fdaf9ae commit 4bf5a23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files/lib/Service/DirectEditingService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public function getDirectEditingCapabilitites(): array {
6161
*/
6262
foreach ($this->directEditingManager->getEditors() as $id => $editor) {
6363
$capabilities['editors'][$id] = [
64+
'id' => $editor->getId(),
6465
'name' => $editor->getName(),
6566
'mimetypes' => $editor->getMimetypes(),
6667
'optionalMimetypes' => $editor->getMimetypesOptional(),

0 commit comments

Comments
 (0)