@seafile/sdoc-editor 2.0.177 → 2.0.179

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.
@@ -155,7 +155,7 @@ var MENUS_CONFIG_MAP = exports.MENUS_CONFIG_MAP = (_MENUS_CONFIG_MAP = {}, (0, _
155
155
  type: TEXT_STYLE_MAP.STRIKETHROUGH
156
156
  }, {
157
157
  id: SUPERSCRIPT,
158
- iconClass: 'sdocfont sdoc-subscripts',
158
+ iconClass: 'sdocfont sdoc-superscripts',
159
159
  text: 'Superscript',
160
160
  type: TEXT_STYLE_MAP.SUPERSCRIPT
161
161
  }, {
@@ -183,7 +183,7 @@ var deleteMerge = exports.deleteMerge = function deleteMerge(editor) {
183
183
  type: 'remove_text'
184
184
  });
185
185
  }
186
- if (!isSingleText && isAcrossBlocks && endRef.current && start.current) {
186
+ if (!isSingleText && isAcrossBlocks && endRef.current && startRef.current) {
187
187
  _slate.Transforms.mergeNodes(editor, {
188
188
  at: endRef.current,
189
189
  hanging: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.177",
3
+ "version": "2.0.179",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "471a56e253db6798199eee066673bc59a9f6172b"
74
+ "gitHead": "91e347e5bec343490b0bf168242eea7e6d84a90c"
75
75
  }