mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-30 20:53:45 +08:00
13 lines
461 B
PHP
13 lines
461 B
PHP
|
<div wysiwyg-editor class="flex-fill flex">
|
||
|
|
||
|
@exposeTranslations([
|
||
|
'errors.image_upload_error',
|
||
|
])
|
||
|
|
||
|
<textarea id="html-editor" name="html" rows="5" v-pre
|
||
|
@if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{htmlspecialchars( old('html') ? old('html') : $model->html)}}@endif</textarea>
|
||
|
</div>
|
||
|
|
||
|
@if($errors->has('html'))
|
||
|
<div class="text-neg text-small">{{ $errors->first('html') }}</div>
|
||
|
@endif
|