UI: Fixed relative urls in send email notification
This commit is contained in:
parent
1b34617506
commit
0083d92862
@ -37,6 +37,7 @@ import { Subject } from 'rxjs';
|
|||||||
import { deepClone, isDefinedAndNotNull } from '@core/utils';
|
import { deepClone, isDefinedAndNotNull } from '@core/utils';
|
||||||
import { coerceBoolean } from '@shared/decorators/coercion';
|
import { coerceBoolean } from '@shared/decorators/coercion';
|
||||||
import { TranslateService } from '@ngx-translate/core';
|
import { TranslateService } from '@ngx-translate/core';
|
||||||
|
import { EditorOptions } from 'tinymce';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'tb-template-configuration',
|
selector: 'tb-template-configuration',
|
||||||
@ -81,7 +82,7 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
|
|||||||
readonly NotificationDeliveryMethod = NotificationDeliveryMethod;
|
readonly NotificationDeliveryMethod = NotificationDeliveryMethod;
|
||||||
readonly NotificationTemplateTypeTranslateMap = NotificationTemplateTypeTranslateMap;
|
readonly NotificationTemplateTypeTranslateMap = NotificationTemplateTypeTranslateMap;
|
||||||
|
|
||||||
tinyMceOptions: Record<string, any> = {
|
tinyMceOptions: Partial<EditorOptions> = {
|
||||||
base_url: '/assets/tinymce',
|
base_url: '/assets/tinymce',
|
||||||
suffix: '.min',
|
suffix: '.min',
|
||||||
plugins: ['link', 'table', 'image', 'lists', 'code', 'fullscreen'],
|
plugins: ['link', 'table', 'image', 'lists', 'code', 'fullscreen'],
|
||||||
@ -93,7 +94,8 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
|
|||||||
height: 400,
|
height: 400,
|
||||||
autofocus: false,
|
autofocus: false,
|
||||||
branding: false,
|
branding: false,
|
||||||
promotion: false
|
promotion: false,
|
||||||
|
relative_urls: false
|
||||||
};
|
};
|
||||||
|
|
||||||
private propagateChange = null;
|
private propagateChange = null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user