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

Adding a code block in collapsible block causes page to not be editable #5401

Closed
Rock-HOG opened this issue Jan 10, 2025 · 1 comment
Closed
Labels

Comments

@Rock-HOG
Copy link

Describe the Bug

I added a collapsible block with a code block inside. When I save the page and go back to edit, I see nothing in the editor. I'm using the new WYSIWYG. I have tested this multiple times in other books, and the same thing happened.

Steps to Reproduce

  1. Create a new page
  2. Add Title
  3. Add Collapsible Block
  4. Expand Collapsible Block
  5. Add Code Block
  6. Save Code Block
  7. Save Page
  8. Edit Page

Expected Behaviour

You should be able to add a code block to a collapsible block and then edit the page in the future.

Screenshots or Additional Context

Screenshot 2025-01-09 170811
Screenshot 2025-01-09 170828
Screenshot 2025-01-09 172019

Browser Details

Microsoft Edge on Windows 11, Google Chrome on Windows 11, Firefox on Windows 11

Exact BookStack Version

24.12.1

@ssddanbrown
Copy link
Member

Thanks @Rock-HOG, I've added this to the megathread: #5245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants