Skip to content

EspoCRM – Open Source CRM Application

Schema

Yuriib1982b2bd033
diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json
index a88b7555e6..ba70eef052 100644
--- a/schema/metadata/entityDefs.json
+++ b/schema/metadata/entityDefs.json
@@ -343,7 +343,27 @@
"type": "integer",
"minimum": 1,
"description": "A text higher then a specified value will be cut with a 'show more' button displayed."
- },
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "type": {
+ "anyOf": [
+ {
+ "const": "text"
+ },
+ {
+ "const": "wysiwyg"
+ }
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
"attachmentField": {
"type": "string",
"description": "An attachment-multiple field to connect with. As of v9.0."
@@ -351,6 +371,27 @@
}
}
},
+ {
+ "if": {
+ "properties": {
+ "type": {
+ "anyOf": [
+ {
+ "const": "wysiwyg"
+ }
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "useIframe": {
+ "type": "string",
+ "description": "Use IFRAME in read mode."
+ }
+ }
+ }
+ },
{
"if": {
"properties": {