mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added editor type change button
This commit is contained in:
@ -97,6 +97,7 @@ class PageController extends Controller
|
||||
'isDraft' => true,
|
||||
'draftsEnabled' => $draftsEnabled,
|
||||
'templates' => $templates,
|
||||
'editor' => setting('app-editor') === 'wysiwyg' ? 'wysiwyg' : 'markdown',
|
||||
]);
|
||||
}
|
||||
|
||||
@ -224,6 +225,7 @@ class PageController extends Controller
|
||||
'current' => $page,
|
||||
'draftsEnabled' => $draftsEnabled,
|
||||
'templates' => $templates,
|
||||
'editor' => setting('app-editor') === 'wysiwyg' ? 'wysiwyg' : 'markdown',
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user