Code block editor doesn't show contents without clicking code content #1374

Closed
opened 2026-02-05 00:43:35 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jaylik on GitHub (Sep 19, 2019).

Describe the bug
Code block editor doesn't show contents without clicking code content

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit' -mode
  2. Add code block
  3. Insert contents of 'https://github.com/BookStackApp/BookStack/blob/master/.gitignore'
  4. Save Page
  5. Open code block again in edit mode >> no code content visible without clicking code field

Expected behavior
Code block editor should show code content when its opened.

Configuration

  • Exact BookStack Version v0.27.4
  • PHP Version: 7.0.33-0+deb9u3
  • Hosting Method: nginx & fastcgi
Originally created by @jaylik on GitHub (Sep 19, 2019). **Describe the bug** Code block editor doesn't show contents without clicking code content **Steps To Reproduce** Steps to reproduce the behavior: 1. Go to 'Edit' -mode 2. Add code block 3. Insert contents of 'https://github.com/BookStackApp/BookStack/blob/master/.gitignore' 4. Save Page 5. Open code block again in edit mode >> no code content visible without clicking code field **Expected behavior** Code block editor should show code content when its opened. **Configuration** - Exact BookStack Version v0.27.4 - PHP Version: 7.0.33-0+deb9u3 - Hosting Method: nginx & fastcgi
OVERLORD added the 🐛 Bug🎨 Design💻 Front-End labels 2026-02-05 00:43:35 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 7, 2019):

Thank you for reporting @jaylik.

This has been addressed in 5a533fff8b and will be part of the next feature release.

@ssddanbrown commented on GitHub (Dec 7, 2019): Thank you for reporting @jaylik. This has been addressed in 5a533fff8bc09e1520276c3fbb91740b432c8a3b and will be part of the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1374