Code Blocks in Wysiwyg editor mode #1720

Closed
opened 2026-02-05 01:42:37 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @nickbe on GitHub (May 7, 2020).

How do I create a code block in the standard wysiwyg editor? There doesn't seem to be a button for this.

Originally created by @nickbe on GitHub (May 7, 2020). How do I create a code block in the standard wysiwyg editor? There doesn't seem to be a button for this.
Author
Owner

@mikeyz24 commented on GitHub (May 7, 2020):

The code block should be in the "Formats" menu.
image

@mikeyz24 commented on GitHub (May 7, 2020): The code block should be in the "Formats" menu. ![image](https://user-images.githubusercontent.com/43043830/81333528-c096c800-9072-11ea-8302-872d15e3bd4d.png)
Author
Owner

@nickbe commented on GitHub (May 8, 2020):

🤦‍♂️ I didn't even look there. Thanks. I thought this would be a standalone button.

@nickbe commented on GitHub (May 8, 2020): 🤦‍♂️ I didn't even look there. Thanks. I thought this would be a standalone button.
Author
Owner

@ssddanbrown commented on GitHub (May 14, 2020):

👍 Will therefore close this now the option has been found. Thanks for responding on this one @mikeyz24.

Extra tip: We have shortcuts for all the main formatting options so you can use Ctrl+E or Ctrl+7 as quicker ways to insert code.

@ssddanbrown commented on GitHub (May 14, 2020): :+1: Will therefore close this now the option has been found. Thanks for responding on this one @mikeyz24. Extra tip: We [have shortcuts](https://www.bookstackapp.com/docs/user/wysiwyg-editor/) for all the main formatting options so you can use `Ctrl+E` or `Ctrl+7` as quicker ways to insert code.
Author
Owner

@NextBlaubeere commented on GitHub (Apr 3, 2022):

Hi. With the recent updates it isn't there anymore, and I am not able to find it either. :-(

Bildschirmfoto 2022-04-03 um 13 06 49

@NextBlaubeere commented on GitHub (Apr 3, 2022): Hi. With the recent updates it isn't there anymore, and I am not able to find it either. :-( ![Bildschirmfoto 2022-04-03 um 13 06 49](https://user-images.githubusercontent.com/10467690/161424856-6283892d-4254-44f2-97a8-f215b7e25a42.png)
Author
Owner

@ssddanbrown commented on GitHub (Apr 3, 2022):

@NextBlaubeere Please see #3310

@ssddanbrown commented on GitHub (Apr 3, 2022): @NextBlaubeere Please see #3310
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1720