@mjhls/mjh-framework 1.0.400 → 1.0.401
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/README.md +1 -1
- package/dist/cjs/index.js +5 -0
- package/dist/esm/index.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -14344,6 +14344,11 @@ var getSerializers = function getSerializers() {
|
|
|
14344
14344
|
return {
|
|
14345
14345
|
types: {
|
|
14346
14346
|
block: function block(props) {
|
|
14347
|
+
var _props$node$style = props.node.style,
|
|
14348
|
+
style = _props$node$style === undefined ? 'normal' : _props$node$style;
|
|
14349
|
+
|
|
14350
|
+
if (style === 'hr') return React__default.createElement('hr', { className: 'horizontal-rule' });
|
|
14351
|
+
if (style === 'br') return React__default.createElement('br', { className: 'line-break' });
|
|
14347
14352
|
props = convertEntities(props);
|
|
14348
14353
|
return TaxonomyCard.BlockContent.defaultSerializers.types.block(props);
|
|
14349
14354
|
},
|
package/dist/esm/index.js
CHANGED
|
@@ -14341,6 +14341,11 @@ var getSerializers = function getSerializers() {
|
|
|
14341
14341
|
return {
|
|
14342
14342
|
types: {
|
|
14343
14343
|
block: function block(props) {
|
|
14344
|
+
var _props$node$style = props.node.style,
|
|
14345
|
+
style = _props$node$style === undefined ? 'normal' : _props$node$style;
|
|
14346
|
+
|
|
14347
|
+
if (style === 'hr') return React__default.createElement('hr', { className: 'horizontal-rule' });
|
|
14348
|
+
if (style === 'br') return React__default.createElement('br', { className: 'line-break' });
|
|
14344
14349
|
props = convertEntities(props);
|
|
14345
14350
|
return BlockContent.defaultSerializers.types.block(props);
|
|
14346
14351
|
},
|