mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 08:17:18 +08:00
Fix issue false positive issue validating unsubscribe link on frontend
This commit is contained in:
parent
6319d9815d
commit
cee7fc17fc
1 changed files with 2 additions and 5 deletions
|
@ -241,15 +241,12 @@ export class SquireEditFieldComponent extends BaseFieldComponent implements OnDe
|
|||
klass: 'squire-editor-button btn btn-sm ',
|
||||
onClick: () => {
|
||||
if (this.editorMode() === 'html') {
|
||||
this.setFieldValue(this.editor.getHTML());
|
||||
this.field.formControl.setValue(this.editor.getHTML());
|
||||
this.editorMode.set('code')
|
||||
return;
|
||||
}
|
||||
this.setFieldValue(this.monacoEditor.editor.getValue());
|
||||
this.field.formControl.setValue(this.monacoEditor.editor.getValue());
|
||||
this.editorMode.set('html');
|
||||
setTimeout(() => {
|
||||
this.editor.setHTML(this?.value ?? '');
|
||||
}, 50);
|
||||
},
|
||||
dynamicClass: computed((): string => {
|
||||
const editorMode = this.editorMode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue