@seafile/sdoc-editor 1.0.212-alph-0.1.4 → 1.0.212-alph-0.1.5

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.
@@ -106,11 +106,14 @@ class OutlineItem extends _react.default.PureComponent {
106
106
  }
107
107
  if (style.computed_background_color) {
108
108
  style['backgroundColor'] = style.computed_background_color;
109
+ delete style.computed_background_color;
109
110
  }
110
111
  const text = child.text || child.title;
111
112
  console.log(style, text);
112
- return `<span style=${style}>${text}<span>`;
113
- }).join(''));
113
+ return /*#__PURE__*/_react.default.createElement("span", {
114
+ style: style
115
+ }, text);
116
+ }));
114
117
  }
115
118
  }
116
119
  var _default = exports.default = OutlineItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "1.0.212-alph-0.1.4",
3
+ "version": "1.0.212-alph-0.1.5",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",