slate-angular 13.0.2 → 13.0.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.
|
@@ -2839,7 +2839,7 @@ class SlateEditableComponent {
|
|
|
2839
2839
|
const { activeElement } = root;
|
|
2840
2840
|
const el = AngularEditor.toDOMNode(this.editor, this.editor);
|
|
2841
2841
|
const domSelection = root.getSelection();
|
|
2842
|
-
if (activeElement === el
|
|
2842
|
+
if (activeElement === el) {
|
|
2843
2843
|
this.latestElement = activeElement;
|
|
2844
2844
|
IS_FOCUSED.set(this.editor, true);
|
|
2845
2845
|
}
|