mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Converted the page editor from vue to component
This commit is contained in:
@ -163,6 +163,8 @@ class PageController extends Controller
|
||||
public function getPageAjax(int $pageId)
|
||||
{
|
||||
$page = $this->pageRepo->getById($pageId);
|
||||
$page->setHidden(array_diff($page->getHidden(), ['html', 'markdown']));
|
||||
$page->addHidden(['book']);
|
||||
return response()->json($page);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user