mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
9d7174557e
This is a copy of the ProseMirror/prosemirror-menu repo files which suggest working from a fork of this. These changes include the ability to select callouts from the menubar.
33 lines
938 B
PHP
33 lines
938 B
PHP
@extends('layouts.simple')
|
|
|
|
@section('body')
|
|
<div class="container">
|
|
|
|
<div>
|
|
<input id="markdown-toggle" type="checkbox">
|
|
</div>
|
|
|
|
<div id="editor" class="bs-editor" style="margin-bottom: 23px"></div>
|
|
|
|
<div id="content" style="display: none;">
|
|
<h2>This is an editable block</h2>
|
|
<p>Lorem ipsum dolor sit amet, <strong>consectetur adipisicing</strong> elit. Asperiores?</p>
|
|
<p><img src="/user_avatar.png" alt="Logo"></p>
|
|
<ul>
|
|
<li>Item A</li>
|
|
<li>Item B</li>
|
|
<li>Item C</li>
|
|
</ul>
|
|
<p>Lorem ipsum dolor sit amet.</p>
|
|
<p class="callout info">
|
|
This is an info callout test!
|
|
</p>
|
|
</div>
|
|
|
|
</div>
|
|
@endsection
|
|
|
|
|
|
@section('scripts')
|
|
<script src="{{ versioned_asset('dist/editor.js') }}" nonce="{{ $cspNonce }}"></script>
|
|
@stop |