Skip to content

Commit

Permalink
Merge pull request #6754 from owncloud/markdown-editor-alias
Browse files Browse the repository at this point in the history
Add markdown-editor to simple-editor alias for config compatibility
  • Loading branch information
Pascal Wengerter authored Apr 7, 2022
2 parents 5844adc + 0cade26 commit 552993f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/unreleased/enhancement-simple-editor
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion packages/web-runtime/src/container/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 552993f

Please sign in to comment.