|
|
|
@ -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; |
|
|
|
|