Skip to content

EspoCRM – Open Source CRM Application

Use iframe

Yurii7965b5d5b4a4
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
index 22fd8056b0..a68fefb660 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/KnowledgeBaseArticle.json
@@ -121,7 +121,8 @@
"maxLength",
"readOnly",
"tooltipText"
- ]
+ ],
+ "useIframe": true
},
"bodyPlain": {
"type": "text",
diff --git a/application/Espo/Resources/metadata/entityDefs/Preferences.json b/application/Espo/Resources/metadata/entityDefs/Preferences.json
index 921fb9db2e..e0b6633b52 100644
--- a/application/Espo/Resources/metadata/entityDefs/Preferences.json
+++ b/application/Espo/Resources/metadata/entityDefs/Preferences.json
@@ -132,7 +132,8 @@
},
"signature": {
"type": "wysiwyg",
- "view": "views/preferences/fields/signature"
+ "view": "views/preferences/fields/signature",
+ "useIframe": true
},
"defaultReminders": {
"type": "jsonArray",
diff --git a/application/Espo/Resources/metadata/entityDefs/Template.json b/application/Espo/Resources/metadata/entityDefs/Template.json
index 7bafd0f6a7..3c66ef3e75 100644
--- a/application/Espo/Resources/metadata/entityDefs/Template.json
+++ b/application/Espo/Resources/metadata/entityDefs/Template.json
@@ -8,16 +8,19 @@
"body": {
"type": "wysiwyg",
"view": "views/template/fields/body",
- "tooltip": true
+ "tooltip": true,
+ "useIframe": true
},
"header": {
"type": "wysiwyg",
- "view": "views/template/fields/body"
+ "view": "views/template/fields/body",
+ "useIframe": true
},
"footer": {
"type": "wysiwyg",
"view": "views/template/fields/body",
- "tooltip": true
+ "tooltip": true,
+ "useIframe": true
},
"entityType": {
"type": "enum",
diff --git a/application/Espo/Resources/metadata/fields/wysiwyg.json b/application/Espo/Resources/metadata/fields/wysiwyg.json
index 0076fbca9a..e021d97a33 100644
--- a/application/Espo/Resources/metadata/fields/wysiwyg.json
+++ b/application/Espo/Resources/metadata/fields/wysiwyg.json
@@ -32,7 +32,8 @@
},
{
"name": "useIframe",
- "type": "bool"
+ "type": "bool",
+ "default": true
},
{
"name": "maxLength",