mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
Updated editor setting to reflect "Default editor"
This commit is contained in:
parent
e49afdbd72
commit
7dc80a9e14
@ -27,8 +27,8 @@ return [
|
|||||||
'app_secure_images' => 'Higher Security Image Uploads',
|
'app_secure_images' => 'Higher Security Image Uploads',
|
||||||
'app_secure_images_toggle' => 'Enable higher security image uploads',
|
'app_secure_images_toggle' => 'Enable higher security image uploads',
|
||||||
'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.',
|
'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.',
|
||||||
'app_editor' => 'Page Editor',
|
'app_default_editor' => 'Default Page Editor',
|
||||||
'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',
|
'app_default_editor_desc' => 'Select which editor will be used by default when editing new pages. This can be overridden at a page level where permissions allow.',
|
||||||
'app_custom_html' => 'Custom HTML Head Content',
|
'app_custom_html' => 'Custom HTML Head Content',
|
||||||
'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
|
'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
|
||||||
'app_custom_html_disabled_notice' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
|
'app_custom_html_disabled_notice' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
|
||||||
|
@ -23,12 +23,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid half gap-xl">
|
<div class="grid half gap-xl items-center">
|
||||||
<div>
|
<div>
|
||||||
<label class="setting-list-label">{{ trans('settings.app_editor') }}</label>
|
<label class="setting-list-label" for="setting-app-editor">{{ trans('settings.app_default_editor') }}</label>
|
||||||
<p class="small">{{ trans('settings.app_editor_desc') }}</p>
|
<p class="small">{{ trans('settings.app_default_editor_desc') }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-xs">
|
<div>
|
||||||
<select name="setting-app-editor" id="setting-app-editor">
|
<select name="setting-app-editor" id="setting-app-editor">
|
||||||
<option @if(setting('app-editor') === 'wysiwyg') selected @endif value="wysiwyg">WYSIWYG</option>
|
<option @if(setting('app-editor') === 'wysiwyg') selected @endif value="wysiwyg">WYSIWYG</option>
|
||||||
<option @if(setting('app-editor') === 'markdown') selected @endif value="markdown">Markdown</option>
|
<option @if(setting('app-editor') === 'markdown') selected @endif value="markdown">Markdown</option>
|
||||||
@ -90,12 +90,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div homepage-control id="homepage-control" class="grid half gap-xl">
|
<div homepage-control id="homepage-control" class="grid half gap-xl items-center">
|
||||||
<div>
|
<div>
|
||||||
<label for="setting-app-homepage" class="setting-list-label">{{ trans('settings.app_homepage') }}</label>
|
<label for="setting-app-homepage-type" class="setting-list-label">{{ trans('settings.app_homepage') }}</label>
|
||||||
<p class="small">{{ trans('settings.app_homepage_desc') }}</p>
|
<p class="small">{{ trans('settings.app_homepage_desc') }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-xs">
|
<div>
|
||||||
<select name="setting-app-homepage-type" id="setting-app-homepage-type">
|
<select name="setting-app-homepage-type" id="setting-app-homepage-type">
|
||||||
<option @if(setting('app-homepage-type') === 'default') selected @endif value="default">{{ trans('common.default') }}</option>
|
<option @if(setting('app-homepage-type') === 'default') selected @endif value="default">{{ trans('common.default') }}</option>
|
||||||
<option @if(setting('app-homepage-type') === 'books') selected @endif value="books">{{ trans('entities.books') }}</option>
|
<option @if(setting('app-homepage-type') === 'books') selected @endif value="books">{{ trans('entities.books') }}</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user