slate-react 0.72.2 → 0.72.4-20220723294

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.
@@ -2722,7 +2722,7 @@
2722
2722
  distance: currentTextNode.text.length,
2723
2723
  reverse: true
2724
2724
  });
2725
- slate.Transforms.insertText(editor, text);
2725
+ slate.Editor.insertText(editor, text);
2726
2726
  });
2727
2727
  }
2728
2728
  }
@@ -4364,9 +4364,7 @@
4364
4364
  });
4365
4365
  _this.editor.marks = null;
4366
4366
  } else {
4367
- slate.Transforms.insertText(_this.editor, text, {
4368
- at: at
4369
- });
4367
+ slate.Editor.insertText(_this.editor, text);
4370
4368
  }
4371
4369
  });
4372
4370
  };
@@ -5023,9 +5021,7 @@
5023
5021
  });
5024
5022
  editor.marks = null;
5025
5023
  } else {
5026
- slate.Transforms.insertText(editor, text, {
5027
- at: at
5028
- });
5024
+ slate.Editor.insertText(editor, text);
5029
5025
  }
5030
5026
  });
5031
5027
  }, RESOLVE_DELAY);