一定 發表於 2025-12-7 18:43:54

底部一段代码报错,大佬给看看

论坛底部文件有一个这样的代码,我对比了一下默认模板,没有这个。                                                            plain                        <button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-GEW8NttOsM">                                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">                                        <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>                                        <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>                                </svg>                        </button>                        <button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-GEW8NttOsM">                              <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">                              <polyline points="6 9 12 15 18 9"></polyline>                              </svg>                        </button>                                                                                                                                                                <button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>                                                  经过测试,注销后不再报错,报错具体内容为:                                                            plain                        <button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-2XTE5PyOzS">                                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">                                        <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>                                        <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>                                </svg>                        </button>                        <button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-2XTE5PyOzS">                              <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">                              <polyline points="6 9 12 15 18 9"></polyline>                              </svg>                        </button>                                                                                                                                                                <button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>                          报错<em>, </em>底部<em>, </em>代码<em>, </em>论坛<em>, </em>文件

湖中沉 發表於 2025-12-7 21:52:30

这是很早以前的模板?默认现在都没这个

一定 發表於 2025-12-7 23:39:34

旧版默认有这个?可能3.4的,反正我对比最新默认有三个类似这样的,但是没有这个,我就注释了,暂时没发现不正常,这个代码干嘛的

湖中沉 發表於 2025-12-8 09:45:42

<br />以前的代码,具体干啥的我也忘了,检测什么路径啥的好像

一定 發表於 2025-12-8 10:32:14

<br />反正3.5已经弃用了呗。

湖中沉 發表於 2025-12-8 11:13:22

<br />是的,估计是跟以前什么云平台之类有关的
頁: [1]
查看完整版本: 底部一段代码报错,大佬给看看