Core-clean variant: editor id eurooffice, no text-app patch

- HtmlDirectEditor getId() now returns 'eurooffice' (hard-coded in the
  iOS/Android editor registry) -> 'Öffnen mit Office' long-press renders HTML
- install.sh restores the original TextDirectEditor if a previous
  install patched it; no core app patch anymore
- README rewritten: behavior, variant rationale, files
This commit is contained in:
Hermes
2026-09-11 12:28:13 +00:00
parent 84d455d19c
commit 818c793ce6
4 changed files with 55 additions and 224 deletions
+4 -1
View File
@@ -34,7 +34,10 @@ class HtmlDirectEditor implements IEditor {
#[\Override]
public function getId(): string {
return Application::APP_ID;
// "eurooffice" is one of the hard-coded editor IDs the Nextcloud
// iOS/Android apps resolve in their editor registry. The menu
// "Öffnen mit Office" (long press) then opens this editor.
return 'eurooffice';
}
#[\Override]