Browse Source

UI: Fixed relative urls in send email notification

pull/12214/head
Vladyslav_Prykhodko 2 years ago
parent
commit
0083d92862
  1. 6
      ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.ts

6
ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.ts

@ -37,6 +37,7 @@ import { Subject } from 'rxjs';
import { deepClone, isDefinedAndNotNull } from '@core/utils';
import { coerceBoolean } from '@shared/decorators/coercion';
import { TranslateService } from '@ngx-translate/core';
import { EditorOptions } from 'tinymce';
@Component({
selector: 'tb-template-configuration',
@ -81,7 +82,7 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
readonly NotificationDeliveryMethod = NotificationDeliveryMethod;
readonly NotificationTemplateTypeTranslateMap = NotificationTemplateTypeTranslateMap;
tinyMceOptions: Record<string, any> = {
tinyMceOptions: Partial<EditorOptions> = {
base_url: '/assets/tinymce',
suffix: '.min',
plugins: ['link', 'table', 'image', 'lists', 'code', 'fullscreen'],
@ -93,7 +94,8 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
height: 400,
autofocus: false,
branding: false,
promotion: false
promotion: false,
relative_urls: false
};
private propagateChange = null;

Loading…
Cancel
Save