@seafile/seafile-editor 2.0.46-beta1 → 2.0.46-beta3
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,7 +106,7 @@ const applyMarkForInlineItem = function (result, item) {
|
|
|
106
106
|
textNode['referenceType'] = item.referenceType;
|
|
107
107
|
textNode['label'] = (_item$children$ = item.children[0]) === null || _item$children$ === void 0 ? void 0 : _item$children$.value;
|
|
108
108
|
textNode['children'] = [{
|
|
109
|
-
id:
|
|
109
|
+
id: _slugid.default.nice(),
|
|
110
110
|
text: ''
|
|
111
111
|
}];
|
|
112
112
|
delete textNode['bold'];
|
|
@@ -115,6 +115,7 @@ const applyMarkForInlineItem = function (result, item) {
|
|
|
115
115
|
result.push({
|
|
116
116
|
...textNode
|
|
117
117
|
});
|
|
118
|
+
|
|
118
119
|
// reset testNode
|
|
119
120
|
textNode = {};
|
|
120
121
|
return;
|