easy-email-extensions 4.7.1 → 4.7.2
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.
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "easy-email-extensions",
|
3
3
|
"license": "MIT",
|
4
4
|
"description": "Email editor",
|
5
|
-
"version": "4.7.
|
5
|
+
"version": "4.7.2",
|
6
6
|
"author": "m-Ryan",
|
7
7
|
"repository": {
|
8
8
|
"type": "git",
|
@@ -88,5 +88,5 @@
|
|
88
88
|
"react-dom": "^17.0.2",
|
89
89
|
"react-final-form": "^6.5.7"
|
90
90
|
},
|
91
|
-
"gitHead": "
|
91
|
+
"gitHead": "3c07fe2e350ee589f287eceb9658993cf5f094c0"
|
92
92
|
}
|
package/readme.md
CHANGED
@@ -142,6 +142,20 @@ export default function App() {
|
|
142
142
|
});
|
143
143
|
```
|
144
144
|
|
145
|
+
- Hide Page block subject & subTitle
|
146
|
+
|
147
|
+
```tsx
|
148
|
+
const DefaultPageConfigPanel = BlockAttributeConfigurationManager.get(BasicType.PAGE);
|
149
|
+
BlockAttributeConfigurationManager.add({
|
150
|
+
[BasicType.PAGE]: () => (
|
151
|
+
<DefaultPageConfigPanel
|
152
|
+
hideSubject
|
153
|
+
hideSubTitle
|
154
|
+
/>
|
155
|
+
),
|
156
|
+
});
|
157
|
+
```
|
158
|
+
|
145
159
|
- `InteractivePrompt`
|
146
160
|
|
147
161
|
- block hover and focus style
|
@@ -162,10 +176,7 @@ export default function App() {
|
|
162
176
|
|
163
177
|
```tsx
|
164
178
|
import { BasicType } from 'easy-email-core';
|
165
|
-
import {
|
166
|
-
BlockMarketManager,
|
167
|
-
BlockMaskWrapper,
|
168
|
-
} from 'easy-email-extensions';
|
179
|
+
import { BlockMarketManager, BlockMaskWrapper } from 'easy-email-extensions';
|
169
180
|
|
170
181
|
BlockMarketManager.addCategories([
|
171
182
|
{
|
@@ -194,9 +205,7 @@ export default function App() {
|
|
194
205
|
},
|
195
206
|
}}
|
196
207
|
>
|
197
|
-
<div style={{ fontSize: 20, width: '100%', paddingLeft: 20 }}>
|
198
|
-
20px
|
199
|
-
</div>
|
208
|
+
<div style={{ fontSize: 20, width: '100%', paddingLeft: 20 }}>20px</div>
|
200
209
|
</BlockMaskWrapper>
|
201
210
|
);
|
202
211
|
},
|