1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Lexical: Added new WYSIWYG to chapter/book/shelf descriptions

This commit is contained in:
Dan Brown
2025-06-26 11:00:17 +01:00
parent b80992ca59
commit 02a35b6db4
8 changed files with 54 additions and 84 deletions

View File

@ -1,5 +1,4 @@
<textarea component="wysiwyg-input"
option:wysiwyg-input:language="{{ $locale->htmlLang() }}"
option:wysiwyg-input:text-direction="{{ $locale->htmlDirection() }}"
id="description_html" name="description_html" rows="5"
@if($errors->has('description_html')) class="text-neg" @endif>@if(isset($model) || old('description_html')){{ old('description_html') ?? $model->descriptionHtml()}}@endif</textarea>