@seafile/sdoc-editor 0.1.86 → 0.1.87

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.
@@ -445,7 +445,7 @@ export var isRangeAcrossBlocks = function isRangeAcrossBlocks(editor) {
445
445
  };
446
446
  export var isAncestorEmpty = function isAncestorEmpty(editor, node) {
447
447
  return !Node.string(node) && !node.children.some(function (n) {
448
- return Editor.isInline(editor, node);
448
+ return Editor.isInline(editor, n);
449
449
  });
450
450
  };
451
451
  export var isBlockAboveEmpty = function isBlockAboveEmpty(editor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.86",
3
+ "version": "0.1.87",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",