mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-08 20:56:04 +00:00
Update editor.html
This commit is contained in:
parent
15b2e606b1
commit
be9ed37eea
|
@ -286,7 +286,7 @@
|
||||||
id: 3,
|
id: 3,
|
||||||
method: 'Runtime.evaluate',
|
method: 'Runtime.evaluate',
|
||||||
params: {
|
params: {
|
||||||
expression: '((e)=>e[e.length-1].querySelector("code").innerText||e[e.length-1].innerText)(document.querySelectorAll("[data-content=ai-message]"))'
|
expression: "((e)=>e[e.length-1].querySelector('code')?.innerText||['/*\n',e[e.length-1].innerText,'\n*/'].join(''))(document.querySelectorAll('[data-content=ai-message]'))"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user