1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Lexical: Added UI translation support

This commit is contained in:
Dan Brown
2024-09-22 12:29:06 +01:00
parent 2add15bd72
commit ef3de1050f
9 changed files with 20 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
<div class="editor-container flex-container-column flex-fill flex" refs="wysiwyg-editor@edit-container">
</div>
<div id="lexical-debug" style="white-space: pre-wrap; font-size: 12px; height: 200px; overflow-y: scroll; background-color: #000; padding: 1rem; border-radius: 4px; color: #FFF;"></div>
{{-- <div id="lexical-debug" style="white-space: pre-wrap; font-size: 12px; height: 200px; overflow-y: scroll; background-color: #000; padding: 1rem; border-radius: 4px; color: #FFF;"></div>--}}
<textarea refs="wysiwyg-editor@input" id="html-editor" hidden="hidden" name="html" rows="5">{{ old('html') ?? $model->html ?? '' }}</textarea>
</div>
@@ -18,4 +18,4 @@
<div class="text-neg text-small">{{ $errors->first('html') }}</div>
@endif
{{--TODO - @include('form.editor-translations')--}}
@include('form.editor-translations')