@seafile/seafile-editor 2.0.45 → 2.0.46-beta1

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.
@@ -109,9 +109,14 @@ const applyMarkForInlineItem = function (result, item) {
109
109
  id: textNode.id,
110
110
  text: ''
111
111
  }];
112
+ delete textNode['bold'];
113
+ delete textNode['code'];
114
+ delete textNode['text'];
112
115
  result.push({
113
116
  ...textNode
114
117
  });
118
+ // reset testNode
119
+ textNode = {};
115
120
  return;
116
121
  }
117
122
  const attr_key = INLINE_KEY_MAP[type];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-editor",
3
- "version": "2.0.45",
3
+ "version": "2.0.46-beta1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {