Skip to content
Snippets Groups Projects
Commit 76003fee authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

Merge branch 'fix/22737/develop' into 'develop'

[22737] Problème de chargement de TinyMCE

See merge request maarch/MaarchParapheur!172
parents 87569b07 65373cf6
No related branches found
No related tags found
No related merge requests found
......@@ -109,11 +109,11 @@ export class CustomizationComponent implements OnInit, OnDestroy {
initMce() {
const param = {
selector: '#login_message',
base_url: this.functions.getBaseUrl() + '/tinymce/',
base_url: `${this.functions.getBaseUrl().split('#')[0]}/tinymce/`,
height: '200',
suffix: '.min',
extended_valid_elements : 'tag,class',
content_css: this.functions.getBaseUrl() + '/assets/custom_tinymce.css',
content_css: `${this.functions.getBaseUrl().split('#')[0]}/assets/custom_tinymce.css`,
language: this.translate.instant('lang.langISO').replace('-', '_'),
language_url: `../node_modules/tinymce-i18n/langs/${this.translate.instant('lang.langISO').replace('-', '_')}.js`,
menubar: false,
......
......@@ -110,11 +110,11 @@ export class OtpComponent implements OnInit, OnDestroy {
initMce() {
const param = {
selector: '#email_message',
base_url: this.functions.getBaseUrl() + '/tinymce/',
base_url: `${this.functions.getBaseUrl().split('#')[0]}/tinymce/`,
height: '200',
suffix: '.min',
extended_valid_elements : 'tag,class',
content_css: this.functions.getBaseUrl() + '/assets/custom_tinymce.css',
content_css: `${this.functions.getBaseUrl().split('#')[0]}/assets/custom_tinymce.css`,
language: this.translate.instant('lang.langISO').replace('-', '_'),
language_url: `../node_modules/tinymce-i18n/langs/${this.translate.instant('lang.langISO').replace('-', '_')}.js`,
menubar: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment