@icon('back'){{ trans('common.back') }}
@icon('check-circle', ['class' => 'text-pos draft-notification svg-icon', 'refs' => 'page-editor@draftDisplayIcon'])
  • @if($isDraft)
  • @icon('delete') {{ trans('entities.pages_edit_delete_draft') }}
  • @endif
  • @if(userCan('editor-change'))

  • @if($editor !== \BookStack\Entities\Tools\PageEditorType::Markdown) @icon('swap-horizontal')
    {{ trans('entities.pages_edit_switch_to_markdown') }}
    {{ trans('entities.pages_edit_switch_to_markdown_clean') }}
    @icon('swap-horizontal')
    {{ trans('entities.pages_edit_switch_to_markdown') }}
    {{ trans('entities.pages_edit_switch_to_markdown_stable') }}
    @endif @if($editor !== \BookStack\Entities\Tools\PageEditorType::WysiwygTinymce) @icon('swap-horizontal')
    {{ trans('entities.pages_edit_switch_to_wysiwyg') }}
    @endif @if($editor !== \BookStack\Entities\Tools\PageEditorType::WysiwygLexical) @icon('swap-horizontal')
    {{ trans('entities.pages_edit_switch_to_new_wysiwyg') }}
    {{ trans('entities.pages_edit_switch_to_new_wysiwyg_desc') }}
    @endif
  • @endif
  • {{ trans('entities.pages_edit_enter_changelog_desc') }}

{{-- Prevents button jumping on menu show --}}