feat: rewrite llm config and model patch
This commit is contained in:
@@ -208,9 +208,7 @@ export async function inputTextElement(element: HTMLElement, text: string) {
|
||||
selection?.removeAllRanges()
|
||||
selection?.addRange(range)
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
doc.execCommand('delete', false)
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
doc.execCommand('insertText', false, text)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user