]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/parts/wysiwyg-editor.blade.php
Made WYSIWYG editor translatable
[bookstack] / resources / views / pages / parts / wysiwyg-editor.blade.php
index 02948fa2ecd18ed01d2d60754964d7e0207184a3..29a4b6532b596f32e3e44606d934bd4ec49e377a 100644 (file)
@@ -1,4 +1,5 @@
 <div component="wysiwyg-editor"
+     option:wysiwyg-editor:language="{{ config('app.lang') }}"
      option:wysiwyg-editor:page-id="{{ $model->id ?? 0 }}"
      option:wysiwyg-editor:text-direction="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
      option:wysiwyg-editor:image-upload-error-text="{{ trans('errors.image_upload_error') }}"
@@ -11,4 +12,6 @@
 
 @if($errors->has('html'))
     <div class="text-neg text-small">{{ $errors->first('html') }}</div>
-@endif
\ No newline at end of file
+@endif
+
+@include('pages.parts.editor-translations')
\ No newline at end of file