@mirrormedia/lilith-draft-editor 1.1.0-alpha.12 → 1.1.0-alpha.14
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.
|
@@ -31,7 +31,8 @@ const {
|
|
|
31
31
|
DividerBlock,
|
|
32
32
|
RelatedPostBlock,
|
|
33
33
|
VideoBlock,
|
|
34
|
-
AudioBlock
|
|
34
|
+
AudioBlock,
|
|
35
|
+
YoutubeBlock
|
|
35
36
|
} = _mirrormedia.default.blockRenderers;
|
|
36
37
|
|
|
37
38
|
const AtomicBlock = props => {
|
|
@@ -115,6 +116,11 @@ const AtomicBlock = props => {
|
|
|
115
116
|
{
|
|
116
117
|
return AudioBlock(entity);
|
|
117
118
|
}
|
|
119
|
+
|
|
120
|
+
case 'YOUTUBE':
|
|
121
|
+
{
|
|
122
|
+
return YoutubeBlock(entity);
|
|
123
|
+
}
|
|
118
124
|
}
|
|
119
125
|
|
|
120
126
|
return null;
|
|
@@ -21,6 +21,17 @@ const theme = {
|
|
|
21
21
|
lg: `@media (min-width: ${mediaSize.lg}px)`,
|
|
22
22
|
xl: `@media (min-width: ${mediaSize.xl}px)`,
|
|
23
23
|
xxl: `@media (min-width: ${mediaSize.xxl}px)`
|
|
24
|
+
},
|
|
25
|
+
fontSize: {
|
|
26
|
+
xs: 'font-size: 14px;',
|
|
27
|
+
sm: 'font-size: 16px;',
|
|
28
|
+
md: 'font-size: 18px;',
|
|
29
|
+
lg: 'font-size: 24px;',
|
|
30
|
+
xl: 'font-size: 28px;'
|
|
31
|
+
},
|
|
32
|
+
margin: {
|
|
33
|
+
default: 'margin: 32px auto;',
|
|
34
|
+
narrow: 'margin: 16px auto;'
|
|
24
35
|
}
|
|
25
36
|
};
|
|
26
37
|
exports.theme = theme;
|