From 0cade26d3f4ab3bac36721aa8c7a56bb14e7b992 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 7 Apr 2022 20:52:40 +0200 Subject: [PATCH] Add markdown-editor to simple-editor alias for config compatibility --- changelog/unreleased/enhancement-simple-editor | 1 + packages/web-runtime/src/container/bootstrap.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog/unreleased/enhancement-simple-editor b/changelog/unreleased/enhancement-simple-editor index 28ca8522780..373edcc3ca6 100644 --- a/changelog/unreleased/enhancement-simple-editor +++ b/changelog/unreleased/enhancement-simple-editor @@ -11,3 +11,4 @@ Replace MarkdownEditor with SimpleEditor and add the following improvements: * UI polish https://github.com/owncloud/web/pull/6667 +https://github.com/owncloud/web/pull/6754 diff --git a/packages/web-runtime/src/container/bootstrap.ts b/packages/web-runtime/src/container/bootstrap.ts index 64460d0f26b..d2c396ad2d3 100644 --- a/packages/web-runtime/src/container/bootstrap.ts +++ b/packages/web-runtime/src/container/bootstrap.ts @@ -155,7 +155,10 @@ export const announceApplications = async ({ const rewriteDeprecatedAppNames = ( runtimeConfiguration: RuntimeConfiguration ): RuntimeConfiguration => { - const appAliases = [{ name: 'preview', oldName: 'media-viewer' }] + const appAliases = [ + { name: 'preview', oldName: 'media-viewer' }, + { name: 'simple-editor', oldName: 'markdown-editor' } + ] return { ...runtimeConfiguration, apps: runtimeConfiguration.apps.map((appName) => {