Forgot password?
 Create new account
View 158|Reply 1

编辑引用部分

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-4-9 07:50:31 |Read mode
Screenshot 2023-04-09 at 00-47-53 参与_回复主题 - 第3版test - 测试区 - 悠闲数学.png 回复帖子时,引用部分不可编辑。建议将引用的部分设为可编辑。

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

 Author| hbghlyj Posted at 2023-5-11 02:01:42
Last edited by hbghlyj at 2023-5-12 17:34:00
用这段代码可编辑引用部分
  1. let q=document.querySelector('.quote');
  2. q.setAttribute("contenteditable", true);
  3. q.setAttribute("onblur","editorform.noticetrimstr.value=html2bbcode(document.querySelector('.quote').outerHTML)")
Copy the Code
演示 output.gif

手机版Mobile version|Leisure Math Forum

2025-4-20 21:55 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list