Details块不遵守打开规则

让我们试试

[details open]
这应该是可见的
[/details]

这应该是可见的

还有


<details open>
这应该是可见的
</details>
这应该是可见的

我不知道什么时候坏的,因为我不是每天都用它。但是 [details open] 以前是有效的。我偶尔会使用 open 来分享 AI 对话。

3 个赞

嗯,不幸的是,这看起来像是很久以前的回归问题。

这不会是我们紧急修复的问题,所以暂时添加一个 #pr-welcome。

2 个赞

说得有理。

我估计它很少被使用。而且我可以用 <details><summary> 来绕过它。我将失去那个很酷的 AI 标签,但也许我能活下来 :sob: :joy:

1 个赞

嘿。我一直使用像这样的细节

[details="open"]
This should be visible
[/details]
open

This should be visible

我不知道你也可以使用


<details open>
This should be visible
</details>

Will try with the =

<details=“open”>
This should be visible

Doesn’t work as above


<details="open">
This should be visible
</details>

似乎只像你最后的例子那样工作。

This should be visible

不过有点酷,因为 < > 似乎默认就是打开的。总是在学习新东西)在 discourse 中路由。

2 个赞

糟糕。我无法使用 \u003cdetails open\u003e 这个技巧,因为我正在使用 Different look for details-block - #2 by Don 这个完全出色的设计。

嗯,我必须等到有懂行的人有时间来解决这个问题。不过,这也不是什么大问题。

2 个赞

太棒了!感谢您突出显示 Don 的出色组件!

1 个赞

这就行了:

我一直在等自助洗衣店 :man_shrugging:

4 个赞

那条评论让我的心情好多了 :joy:

谢谢!

2 个赞

我是否应该为你打开 @Don Custom 的隐藏细节?

我得到这个

1 个赞

我看到该主题已打开。它之前已关闭。回答我给 Jag 的问题。谢谢。

此主题在上次回复后 3 天自动关闭。不允许新的回复。