Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

Registrati

Entra

Tutti Nuovi Registrati Entra

Tutti i gist corrispondenti all'argomento shuoshuo

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
LiuShen's Avatar

LiuShen / ech0说说展示到前端网站

0 mi piace
0 forks
2 files
Ultima volta attivo 1 week ago
将ech0说说展示到前端网站页面
ech0 hexo javascript shuoshuo
1 const goComment = (e) => {
2 const n = document.querySelector(".el-textarea__inner");
3 n.value = `> ${e}\n\n`;
4 n.focus();
5 btf.snackbarShow("已为您引用该说说,不删除空格效果更佳");
6 };
7
8 // 如果是twikoo评论区,请自行替换goComment函数,注意,如果评论区开了懒加载可能导致无法找到元素。
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 23ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客