]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/markdown-editor.blade.php
[Fix] app_footer_links_desc
[bookstack] / resources / views / pages / markdown-editor.blade.php
index 6c1437ec1ac37b81da7e2b78ddeeceee4aad8a22..017a971ff1769ab6c57c33e511477f2e3e55d1fc 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">
@@ -37,8 +35,6 @@
         </div>
         <iframe src="about:blank" class="markdown-display" sandbox="allow-same-origin"></iframe>
     </div>
-    <input type="hidden" name="html"/>
-
 </div>