From 1a653c3fa72f94bb20ba080d0deceb444c662971 Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 4 May 2020 17:19:05 +0200 Subject: [PATCH] Set tinymce urls to absolute Potentially fixes a deeper TinyMCE issue that causes TinyMCE to remove important parts of pasted URLs --- client/src/app/base.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/app/base.component.ts b/client/src/app/base.component.ts index 7f16b093f..79a461602 100644 --- a/client/src/app/base.component.ts +++ b/client/src/app/base.component.ts @@ -58,7 +58,9 @@ export abstract class BaseComponent { mobile: { theme: 'mobile', plugins: ['autosave', 'lists', 'autolink'] - } + }, + relative_urls: false, + remove_script_host: true }; public constructor(protected titleService: Title, protected translate: TranslateService) {