mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2024-12-23 14:29:33 -05:00
Update default.html
This commit is contained in:
parent
64ee4f7c8e
commit
1b5e182d6e
@ -29,11 +29,12 @@
|
|||||||
document.querySelectorAll("h2[id^=act] + p + blockquote").forEach((x) => {
|
document.querySelectorAll("h2[id^=act] + p + blockquote").forEach((x) => {
|
||||||
x.setAttribute('contentEditable', true);
|
x.setAttribute('contentEditable', true);
|
||||||
const button = document.createElement('button');
|
const button = document.createElement('button');
|
||||||
button.style.border = '1px solid #ccc';
|
button.style.border = '0';
|
||||||
button.style.borderRadius = '3px';
|
button.style.borderRadius = '3px';
|
||||||
button.style.fontSize = '1rem';
|
button.style.fontSize = '1rem';
|
||||||
button.style.marginRight = '0.5rem';
|
button.style.marginRight = '0.5rem';
|
||||||
button.style.width = '32px';
|
button.style.padding = '0';
|
||||||
|
button.style.backgroundColor = 'transparent';
|
||||||
button.innerHTML = '✂️';
|
button.innerHTML = '✂️';
|
||||||
button.addEventListener('click', () => {
|
button.addEventListener('click', () => {
|
||||||
if (navigator.clipboard) {
|
if (navigator.clipboard) {
|
||||||
|
Loading…
Reference in New Issue
Block a user