EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Wysiwyg: Use iframe by default
Yurii43784c5222e8
diff --git a/client/src/views/fields/wysiwyg.ts b/client/src/views/fields/wysiwyg.tsindex 0ad33295a4..49d321f366 100644--- a/client/src/views/fields/wysiwyg.ts+++ b/client/src/views/fields/wysiwyg.ts@@ -114,7 +114,7 @@ class WysiwygFieldView <protected noStylesheet: boolean = false- protected useIframe: boolean = false+ protected useIframe: boolean = trueprotected handlebars: boolean = false@@ -164,7 +164,7 @@ class WysiwygFieldView <this.minHeight = this.params.minHeight as number;}- this.useIframe = this.params.useIframe || this.useIframe;+ this.useIframe = this.params.useIframe ?? this.useIframe;this.setupToolbar();this.setupIsHtml();