NOW MANAGED ON CODEBERG
Updated editor setting to reflect "Default editor"
Dan Brown7dc80a9e1485
diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.phpindex 7461c9d4e..d5bf87ba8 100755--- a/resources/lang/en/settings.php+++ b/resources/lang/en/settings.php@@ -27,8 +27,8 @@ return ['app_secure_images' => '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_editor' => 'Page Editor',- 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',+ 'app_default_editor' => 'Default Page Editor',+ '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_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.',diff --git a/resources/views/settings/customization.blade.php b/resources/views/settings/customization.blade.phpindex 2bc3531d7..b7be95b4a 100644--- a/resources/views/settings/customization.blade.php+++ b/resources/views/settings/customization.blade.php@@ -23,12 +23,12 @@</div></div>- <div class="grid half gap-xl">+ <div class="grid half gap-xl items-center"><div>- <label class="setting-list-label">{{ trans('settings.app_editor') }}</label>- <p class="small">{{ trans('settings.app_editor_desc') }}</p>+ <label class="setting-list-label" for="setting-app-editor">{{ trans('settings.app_default_editor') }}</label>+ <p class="small">{{ trans('settings.app_default_editor_desc') }}</p></div>- <div class="pt-xs">+ <div><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') === 'markdown') selected @endif value="markdown">Markdown</option>@@ -90,12 +90,12 @@</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>- <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></div>- <div class="pt-xs">+ <div><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') === 'books') selected @endif value="books">{{ trans('entities.books') }}</option>