@manuscripts/body-editor 1.7.0 → 1.7.1

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.
@@ -351,7 +351,7 @@ const findSelectedList = (0, prosemirror_utils_1.findParentNodeOfType)([
351
351
  transform_1.schema.nodes.bullet_list,
352
352
  ]);
353
353
  const findRootList = ($pos) => {
354
- for (let i = 0; i <= $pos.depth; i++) {
354
+ for (let i = 0; i < $pos.depth; i++) {
355
355
  const node = $pos.node(i);
356
356
  if ((0, transform_1.isListNode)(node)) {
357
357
  const pos = $pos.start(i);
@@ -330,7 +330,7 @@ const findSelectedList = findParentNodeOfType([
330
330
  schema.nodes.bullet_list,
331
331
  ]);
332
332
  const findRootList = ($pos) => {
333
- for (let i = 0; i <= $pos.depth; i++) {
333
+ for (let i = 0; i < $pos.depth; i++) {
334
334
  const node = $pos.node(i);
335
335
  if (isListNode(node)) {
336
336
  const pos = $pos.start(i);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",