]> BookStack Code Mirror - bookstack/blob - resources/views/pages/wysiwyg-editor.blade.php
Update errors.php
[bookstack] / resources / views / pages / wysiwyg-editor.blade.php
1 <div wysiwyg-editor class="flex-fill flex">
2
3     @exposeTranslations([
4         'errors.image_upload_error',
5     ])
6
7     <textarea id="html-editor"  name="html" rows="5" v-pre
8           @if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{htmlspecialchars( old('html') ? old('html') : $model->html)}}@endif</textarea>
9 </div>
10
11 @if($errors->has('html'))
12     <div class="text-neg text-small">{{ $errors->first('html') }}</div>
13 @endif