mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 03:33:37 +08:00
15c39c1976
Removes old awkward JS translations endpoint. New system still a little akward in code but not now in process. Also extracted out page editors into their own files. Closes #1258
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 |