Skip to content

Commit 8d26f73

Browse files
committed
EditorConfig.woltlabMedia is removed
See WoltLab/editor@c6979f3 See 76e819b
1 parent 8fb77af commit 8d26f73

File tree

2 files changed

+0
-20
lines changed
  • ts/WoltLabSuite/Core/Component/Ckeditor
  • wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor

2 files changed

+0
-20
lines changed

ts/WoltLabSuite/Core/Component/Ckeditor/Media.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@ function uploadMedia(element: HTMLElement, file: File, abortController?: AbortCo
4646
export function setup(element: HTMLElement): void {
4747
listenToCkeditor(element)
4848
.setupConfiguration(({ configuration, features }) => {
49-
configuration.woltlabMedia = {
50-
resolveMediaUrl(mediaId: number, mediaSize: string) {
51-
let thumbnail = "";
52-
if (mediaSize !== "original") {
53-
thumbnail = `&thumbnail=${mediaSize}`;
54-
}
55-
56-
return `${window.WSC_API_URL}index.php?media/${mediaId}/${thumbnail}`;
57-
},
58-
};
59-
6049
if (features.attachment || !features.media) {
6150
return;
6251
}

wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Media.js

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)