הצג פרטים במסך התצוגה המקדימה בעת שימוש בתכונת הסתר פרטים

סיכום מבוסס בינה מלאכותית

The discussion revolves around the behavior of the Hide Details feature in the preview screen. debryc reports that details are always collapsed in the preview, making it difficult to view content while writing, even when expanded. They propose that the preview should mirror the post’s state—expanded if it’s expanded in the editor. JammyDodger suggests a workaround using the HTML <details open> tag to keep details visible in the preview, though it must be removed before publishing. sam marks the issue as pr-welcome, noting that implementing a fix would require complex delta updates but expresses interest in efficient solutions.

Right now when using the Hide Details feature, I do not see the details in the preview screen. Instead, the details are always collapsed. I find this very difficult because when I’m typing the details, I want to be able to see it in the preview.

Summary

When I’m writing, I’d like to be able to see this writing on the preview screen but alas…

In the preview screen, I am able to click on the drop-down menu but as soon as I create a new line, the details collapse again.

I propose that the preview screen acts the same way the actual post would. If it was expanded, then it’ll stay expanded. If it was collapsed, then it will stay collapsed.

5 לייקים

There is a workaround if you need it?

If you use the html <details> you can add ‘open’ and that will automatically have it open in the preview (and post, so you may want to take it out before publishing :slightly_smiling_face:)

<details open>
<summary>
Display Text
</summary>

Hidden Details

</details>
Display Text

Hidden Details

9 לייקים

I am putting a pr-welcome on this, it is a rather complex change given we would need to perform delta updates, but I am certainly curious to see efficient delta update mechanisms.

2 לייקים