@fonixtree/magic-design 2.0.104 → 2.0.105

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.
@@ -233,7 +233,7 @@ function (_super) {
233
233
  data = _a.data,
234
234
  className = _a.className;
235
235
  var editabled = this.state.editabled;
236
- var style = contentStyle(data.content);
236
+ var style = contentStyle(data.content || {});
237
237
 
238
238
  if (data.underline) {
239
239
  style = __assign(__assign({}, style), {
@@ -233,7 +233,7 @@ function (_super) {
233
233
  data = _a.data,
234
234
  className = _a.className;
235
235
  var editabled = this.state.editabled;
236
- var style = contentStyle(data.content);
236
+ var style = contentStyle(data.content || {});
237
237
 
238
238
  if (data.underline) {
239
239
  style = __assign(__assign({}, style), {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "2.0.104",
4
+ "version": "2.0.105",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",