Browse Source

Notification template: fix TinyMCE image source position for long link.

pull/14396/head
deaflynx 7 months ago
parent
commit
dfcceb801c
  1. 7
      ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.ts

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

@ -95,6 +95,13 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
autofocus: false,
branding: false,
promotion: false,
setup: (editor) => {
editor.on('PostRender', function() {
const container = editor.getContainer().closest('.mat-mdc-dialog-container');
const uiContainer = document.querySelector('.tox.tox-tinymce-aux');
container.parentNode.appendChild(uiContainer);
});
},
relative_urls: false,
urlconverter_callback: (url) => url
};

Loading…
Cancel
Save