]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/markdown-editor.blade.php
Code cleanup, bug squashing
[bookstack] / resources / views / pages / markdown-editor.blade.php
index 6c1437ec1ac37b81da7e2b78ddeeceee4aad8a22..a9d1f1174bbbabf9f3266f09a6e59a4694beed33 100644 (file)
@@ -1,10 +1,8 @@
 <div id="markdown-editor" component="markdown-editor"
      option:markdown-editor:page-id="{{ $model->id ?? 0 }}"
      option:markdown-editor:text-direction="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
+     option:markdown-editor:image-upload-error-text="{{ trans('errors.image_upload_error') }}"
      class="flex-fill flex code-fill">
-    @exposeTranslations([
-        'errors.image_upload_error',
-    ])
 
     <div class="markdown-editor-wrap active">
         <div class="editor-toolbar">