pull/234744/head
Aiday Marlen Kyzy 2024-11-28 09:12:57 +01:00
parent edc8593732
commit 2bbcf33301
No known key found for this signature in database
GPG Key ID: D55A35EAC79FDA9A
2 changed files with 0 additions and 7 deletions

View File

@ -44,8 +44,6 @@ export class NativeEditContext extends AbstractEditContext {
public readonly textArea: FastDomNode<HTMLTextAreaElement>;
public readonly domNode: FastDomNode<HTMLDivElement>;
public ignoreSelectionChange: boolean = false;
private readonly _editContext: EditContext;
private readonly _screenReaderSupport: ScreenReaderSupport;
@ -475,10 +473,6 @@ export class NativeEditContext extends AbstractEditContext {
return;
}
}
if (this.ignoreSelectionChange) {
this.ignoreSelectionChange = false;
return;
}
const screenReaderContentState = this._screenReaderSupport.screenReaderContentState;
if (!screenReaderContentState) {
return;

View File

@ -248,7 +248,6 @@ if (PasteAction) {
result = focusedEditor.getContainerDomNode().ownerDocument.execCommand('paste');
textAreaDomNode.textContent = '';
if (isHTMLElement(currentFocusedElement)) {
nativeEditContext.ignoreSelectionChange = true;
currentFocusedElement.focus();
}
} else {