BookStack/resources/views/pages/page-display.blade.php
Dan Brown 1cb6ae39c8
Added base RTL support
For #939

- Adds way to check if current language is RTL via config system.
- Made TinyMCE default direction be based on current language text
direction.
- Fixed bullet points to be RTL compatible.
- Set page content body to have direction based on content.
2018-09-22 13:18:26 +01:00

12 lines
No EOL
292 B
PHP

<div dir="auto">
<h1 class="break-text" v-pre id="bkmrk-page-title">{{$page->name}}</h1>
<div style="clear:left;"></div>
@if (isset($diff) && $diff)
{!! $diff !!}
@else
{!! isset($page->renderedHTML) ? $page->renderedHTML : $page->html !!}
@endif
</div>