@gravity-ui/page-constructor 5.11.1 → 5.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,6 +113,16 @@ exports.config = {
|
|
|
113
113
|
transformer: common_1.typografTransformer,
|
|
114
114
|
},
|
|
115
115
|
],
|
|
116
|
+
[models_1.SubBlockType.ImageCard]: [
|
|
117
|
+
{
|
|
118
|
+
fields: ['text', 'additionalInfo'],
|
|
119
|
+
transformer: common_1.yfmTransformer,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
fields: ['title'],
|
|
123
|
+
transformer: common_1.typografTransformer,
|
|
124
|
+
},
|
|
125
|
+
],
|
|
116
126
|
[models_1.SubBlockType.LayoutItem]: [
|
|
117
127
|
{
|
|
118
128
|
fields: ['content'],
|
|
@@ -110,6 +110,16 @@ export const config = {
|
|
|
110
110
|
transformer: typografTransformer,
|
|
111
111
|
},
|
|
112
112
|
],
|
|
113
|
+
[SubBlockType.ImageCard]: [
|
|
114
|
+
{
|
|
115
|
+
fields: ['text', 'additionalInfo'],
|
|
116
|
+
transformer: yfmTransformer,
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
fields: ['title'],
|
|
120
|
+
transformer: typografTransformer,
|
|
121
|
+
},
|
|
122
|
+
],
|
|
113
123
|
[SubBlockType.LayoutItem]: [
|
|
114
124
|
{
|
|
115
125
|
fields: ['content'],
|
package/package.json
CHANGED
|
@@ -123,6 +123,16 @@ exports.config = {
|
|
|
123
123
|
transformer: common_1.typografTransformer,
|
|
124
124
|
},
|
|
125
125
|
],
|
|
126
|
+
[models_1.SubBlockType.ImageCard]: [
|
|
127
|
+
{
|
|
128
|
+
fields: ['text', 'additionalInfo'],
|
|
129
|
+
transformer: common_1.yfmTransformer,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
fields: ['title'],
|
|
133
|
+
transformer: common_1.typografTransformer,
|
|
134
|
+
},
|
|
135
|
+
],
|
|
126
136
|
[models_1.SubBlockType.LayoutItem]: [
|
|
127
137
|
{
|
|
128
138
|
fields: ['content'],
|