Merge pull request #18242 from nextcloud/directEditingEditorWithId
add id to editor of direct editing
This commit is contained in:
commit
4bf5a23ec0
|
@ -61,6 +61,7 @@ class DirectEditingService {
|
||||||
*/
|
*/
|
||||||
foreach ($this->directEditingManager->getEditors() as $id => $editor) {
|
foreach ($this->directEditingManager->getEditors() as $id => $editor) {
|
||||||
$capabilities['editors'][$id] = [
|
$capabilities['editors'][$id] = [
|
||||||
|
'id' => $editor->getId(),
|
||||||
'name' => $editor->getName(),
|
'name' => $editor->getName(),
|
||||||
'mimetypes' => $editor->getMimetypes(),
|
'mimetypes' => $editor->getMimetypes(),
|
||||||
'optionalMimetypes' => $editor->getMimetypesOptional(),
|
'optionalMimetypes' => $editor->getMimetypesOptional(),
|
||||||
|
|
Loading…
Reference in New Issue