admin 管理员组

文章数量: 1087134

i'm tring to write via a chrome extension text in the input vox of copilot.

I can read the original text "original text". However, when I try to change it, I don't get an error, but it doesn't refresh on the page. If I read it again, it still has the same old value.

I have try this in the console

'original text​‌'
document.querySelector("#m365-chat-editor-target-element").innerText = "New text";
'New text'
document.querySelector("#m365-chat-editor-target-element").innerText
'original text​‌'```

本文标签: google chrome extensionchange span content m365chateditortargetelement javascriptStack Overflow