slate-angular 19.1.0-next.2 → 19.1.0-next.3

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.
@@ -1511,11 +1511,8 @@ function updateContext(view, newContext, viewContext) {
1511
1511
  view.instance.context = newContext;
1512
1512
  }
1513
1513
  else {
1514
- const embeddedViewContext = {
1515
- context: newContext,
1516
- viewContext
1517
- };
1518
- view.context = embeddedViewContext;
1514
+ view.context.context = newContext;
1515
+ view.context.viewContext = viewContext;
1519
1516
  view.detectChanges();
1520
1517
  }
1521
1518
  }