After </details> the user cannot continue writing the article

if after hiding the text like this:

<details>
<summary>Click to expand</summary>

These details <em>remain</em> <strong>hidden</strong> until expanded.

<pre><code>PASTE LOGS HERE</code></pre>

</details>

The user wants to write something more, the text enters the hidden part, the user after closing the "details" tag is not able to continue writing the article


image



image