slate-angular 20.2.0-next.10 → 20.2.0-next.11
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.
|
@@ -3064,16 +3064,9 @@ class SlateEditable {
|
|
|
3064
3064
|
ngDoCheck() { }
|
|
3065
3065
|
forceRender() {
|
|
3066
3066
|
this.updateContext();
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
const virtualView = this.refreshVirtualView();
|
|
3071
|
-
this.applyVirtualView(virtualView);
|
|
3072
|
-
visibleIndexes = Array.from(this.virtualVisibleIndexes);
|
|
3073
|
-
}
|
|
3074
|
-
else {
|
|
3075
|
-
this.renderedChildren = visibleIndexes.map(index => this.editor.children[index]);
|
|
3076
|
-
}
|
|
3067
|
+
const virtualView = this.refreshVirtualView();
|
|
3068
|
+
this.applyVirtualView(virtualView);
|
|
3069
|
+
const visibleIndexes = Array.from(this.virtualVisibleIndexes);
|
|
3077
3070
|
this.listRender.update(this.renderedChildren, this.editor, this.context);
|
|
3078
3071
|
this.remeasureHeightByIndics(visibleIndexes);
|
|
3079
3072
|
// repair collaborative editing when Chinese input is interrupted by other users' cursors
|