@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
|
|
113
|
-
|
|
113
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
114
|
+
style: style
|
|
115
|
+
}, text);
|
|
116
|
+
}));
|
|
114
117
|
}
|
|
115
118
|
}
|
|
116
119
|
var _default = exports.default = OutlineItem;
|