]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/markdown-editor.blade.php
Implement the renderPages parameter
[bookstack] / resources / views / pages / markdown-editor.blade.php
index 85afbea069ab4726c6588971445e439d65ebb5d2..a004dbd8be7024226d12d8b7d9b68c37a79b6359 100644 (file)
@@ -1,4 +1,7 @@
-<div v-pre id="markdown-editor" markdown-editor class="flex-fill flex code-fill">
+<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' }}"
+     class="flex-fill flex code-fill">
     @exposeTranslations([
         'errors.image_upload_error',
     ])