@ckeditor/ckeditor5-typing 49.0.1 → 49.1.0-alpha.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.
package/dist/index.js CHANGED
@@ -928,7 +928,7 @@ var Delete = class extends Plugin {
928
928
  if (!modelRange) return;
929
929
  const viewSelection = view.createSelection(editor.editing.mapper.toViewRange(modelRange));
930
930
  const targetRange = viewSelection.getFirstRange();
931
- const eventInfo = new BubblingEventInfo(document, "delete", targetRange);
931
+ const eventInfo = new BubblingEventInfo(viewDocument, "delete", targetRange);
932
932
  const deleteData = {
933
933
  unit: "selection",
934
934
  direction: "backward",