[PR #3110] [CLOSED] User can create markdown page even system is in wysiwyg mode #6132

Closed
opened 2026-02-05 10:25:13 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/3110
Author: @tangramor
Created: 12/15/2021
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 0b95aea User can create markdown page even system is in wysiwyg mode

📊 Changes

9 files changed (+95 additions, -4 deletions)

View changed files

📝 app/Entities/Repos/PageRepo.php (+32 -1)
📝 app/Http/Controllers/PageController.php (+32 -0)
📝 resources/lang/en/entities.php (+1 -0)
📝 resources/lang/zh_CN/entities.php (+1 -0)
📝 resources/views/books/show.blade.php (+12 -0)
📝 resources/views/chapters/show.blade.php (+12 -0)
📝 resources/views/pages/edit.blade.php (+1 -1)
📝 resources/views/pages/parts/form.blade.php (+2 -2)
📝 routes/web.php (+2 -0)

📄 Description

On current BookStack App, if you chose to use WYSIWYG, you cannot create Markdown page any more.

However, in a lot of companies there are both developers and other users, which developers may prefer Markdown and others use WYSIWYG.

I add a "New Markdown" link below "New Page" so user can choose which kind of page to create.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/3110 **Author:** [@tangramor](https://github.com/tangramor) **Created:** 12/15/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`0b95aea`](https://github.com/BookStackApp/BookStack/commit/0b95aea9d8b3b6fa444a8294192a111e1f794350) User can create markdown page even system is in wysiwyg mode ### 📊 Changes **9 files changed** (+95 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/Entities/Repos/PageRepo.php` (+32 -1) 📝 `app/Http/Controllers/PageController.php` (+32 -0) 📝 `resources/lang/en/entities.php` (+1 -0) 📝 `resources/lang/zh_CN/entities.php` (+1 -0) 📝 `resources/views/books/show.blade.php` (+12 -0) 📝 `resources/views/chapters/show.blade.php` (+12 -0) 📝 `resources/views/pages/edit.blade.php` (+1 -1) 📝 `resources/views/pages/parts/form.blade.php` (+2 -2) 📝 `routes/web.php` (+2 -0) </details> ### 📄 Description On current BookStack App, if you chose to use WYSIWYG, you cannot create Markdown page any more. However, in a lot of companies there are both developers and other users, which developers may prefer Markdown and others use WYSIWYG. I add a "New Markdown" link below "New Page" so user can choose which kind of page to create. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:25:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6132