Code block not allowed with another text in ordered list #1877

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

Originally created by @Zyzto on GitHub (Sep 30, 2020).

Describe the bug
when entering code block inside ordered list you can't have text in same step even if you create new line with Shift+Enter

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create/Edit Page
  2. Make ordered list
  3. Type text
  4. Press shift+enter
  5. try to enter codeblock

Expected behavior
the ability to have code block in same list number and even in same line

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.30.1
  • PHP Version: 7.2.24
  • Hosting Method (Nginx/Apache/Docker): Nginx
Originally created by @Zyzto on GitHub (Sep 30, 2020). **Describe the bug** when entering code block inside ordered list you can't have text in same step even if you create new line with Shift+Enter **Steps To Reproduce** Steps to reproduce the behavior: 1. Create/Edit Page 2. Make ordered list 3. Type text 4. Press shift+enter 5. try to enter codeblock **Expected behavior** the ability to have code block in same list number and even in same line **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.30.1 - PHP Version: 7.2.24 - Hosting Method (Nginx/Apache/Docker): Nginx
OVERLORD added the :cat2:🐈 Possible duplicate label 2026-02-05 02:06:49 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 30, 2020):

Hi @Zyzto,
Thanks for your request. The request to allow code blocks within lists is already open under #534 so I'll therefore close this off as a duplicate.

@ssddanbrown commented on GitHub (Sep 30, 2020): Hi @Zyzto, Thanks for your request. The request to allow code blocks within lists is already open under #534 so I'll therefore close this off as a duplicate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1877