Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on a "Reveal" secret note if there's other secrets only open the first one #8172

Closed
cswendrowski opened this issue Sep 12, 2022 · 0 comments
Assignees
Labels
bug Functionality which is not working as intended journal Issues related to the Journal and Pages systems

Comments

@cswendrowski
Copy link
Contributor

From https://discord.com/channels/170995199584108546/956306859491471420/1017560263429459978

It's a little tricky here. Create a secret, press enter so it would separate the block. Once block is separated, create a new secret block. Come back to the end of your first secret block, press enter twice, a line will appear (Like Screen 1). Once you save it, it will appears like in Screen 2. However if you try to 'Reveal' the second block, then the First one only shows and this gets stuck somehow even in the HTML as you can see every class"secret" got the same ID. (Simple fix would be to change the Secret id manually but I feel like this should be known.)

<section id="secret-lrlPufMc4r3fH0hP" class="secret">
    <p>Hi, I'm Block 1</p>
</section>
<section id="secret-lrlPufMc4r3fH0hP" class="secret">
    <p>Hey I'm block 2</p>
</section>
<section id="secret-lrlPufMc4r3fH0hP" class="secret">
    <p>I'm lost.</p>
</section>
<p></p>



Dev note

All secret blocks have the same ID, which is likely the issue

@cswendrowski cswendrowski added bug Functionality which is not working as intended journal Issues related to the Journal and Pages systems labels Sep 12, 2022
@Fyorl Fyorl self-assigned this Sep 13, 2022
@Fyorl Fyorl closed this as completed Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended journal Issues related to the Journal and Pages systems
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants