王一之 发表于 2022-9-9 00:00:21

markdown插件问题修复

修复某些情况下,不显示实际内容与乱码问题

还有其它问题欢迎反馈

steven026 发表于 2022-9-9 00:40:18


真的修复了吗?
```
喵喵喵?
```
【传不了图片了
```
editor.js:2
      
       Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')
    at n (editor.js:2:775348)
    at new Promise (<anonymous>)
    at editor.js:2:775115
    at addImageBlobHook (editor.js:2:775761)
    at editor.js:2:671313
    at Array.forEach (<anonymous>)
    at t.emit (editor.js:2:671284)
    at e.emitAddImageBlob (editor.js:2:731894)
    at n.execCommand (editor.js:2:731327)
```

steven026 发表于 2022-9-9 00:40:46

steven026 发表于 2022-9-9 00:40

真的修复了吗?
```


```
editor.js:2
      
       Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')
    at n (editor.js:2:775348)
    at new Promise (<anonymous>)
    at editor.js:2:775115
    at addImageBlobHook (editor.js:2:775761)
    at editor.js:2:671313
    at Array.forEach (<anonymous>)
    at t.emit (editor.js:2:671284)
    at e.emitAddImageBlob (editor.js:2:731894)
    at n.execCommand (editor.js:2:731327)
```

王一之 发表于 2022-9-9 00:41:15

steven026 发表于 2022-9-9 00:40

真的修复了吗?
```


!(data/attachment/forum/202209/09/004058bqsenfsmjmfya484.png)

什么图片?? 什么问题呢?可能没修复哥哥的bug

王一之 发表于 2022-9-9 00:47:06

steven026 发表于 2022-9-9 00:40
```
editor.js:2
      


图片测试

!(data/attachment/forum/202209/09/004657waq6xteykhm888em.png)

王一之 发表于 2022-9-9 01:40:34

steven026 发表于 2022-9-9 00:40
```
editor.js:2
      


处理了 是这个板块禁止发图

cxxjackie 发表于 2022-9-9 21:09:11

本帖最后由 cxxjackie 于 2022-9-9 21:12 编辑

<details>
<summary>测试一下</summary>
<pre>
hello
world
</pre>
</details>

论坛markdown对html标签的支持好像有点问题,之前就发现了,details显示异常。

王一之 发表于 2022-9-9 21:20:05

cxxjackie 发表于 2022-9-9 21:09

测试一下



没有支持html标签 怕xss

cxxjackie 发表于 2022-9-9 22:29:36

王一之 发表于 2022-9-9 21:20
没有支持html标签 怕xss

那能加一个类似details的功能吗?我写更新日志的时候会用到。

王一之 发表于 2022-9-9 23:33:36

cxxjackie 发表于 2022-9-9 22:29
那能加一个类似details的功能吗?我写更新日志的时候会用到。

我了解一下
页: [1] 2
查看完整版本: markdown插件问题修复