Browse Source

Merge pull request #12354 from vvlladd28/bug/tinymce/reletive-link

Fixed incorrect auto-conversion of inserted links in TinyMCE editor
pull/12358/head
Igor Kulikov 1 year ago
committed by GitHub
parent
commit
71240c756b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/pages/mobile/common/editor-panel.component.ts
  2. 3
      ui-ngx/src/app/modules/home/pages/notification/template/configuration/notification-template-configuration.component.ts

4
ui-ngx/src/app/modules/home/pages/mobile/common/editor-panel.component.ts

@ -63,7 +63,9 @@ export class EditorPanelComponent implements OnInit {
const uiContainer = document.querySelector('.tox.tox-tinymce-aux');
container.parentNode.appendChild(uiContainer);
});
}
},
relative_urls: false,
urlconverter_callback: (url) => url
};
constructor(private fb: FormBuilder) {

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

@ -95,7 +95,8 @@ export class NotificationTemplateConfigurationComponent implements OnDestroy, Co
autofocus: false,
branding: false,
promotion: false,
relative_urls: false
relative_urls: false,
urlconverter_callback: (url) => url
};
private propagateChange = null;

Loading…
Cancel
Save