1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Aded tests for core editor switching functionality

This commit is contained in:
Dan Brown
2022-04-23 14:22:04 +01:00
parent 478067483f
commit 1b46aa8756
2 changed files with 82 additions and 9 deletions

View File

@@ -17,15 +17,6 @@
</div>
</div>
@component('common.confirm-dialog', ['title' => 'Destroy Dogs'])
<p>Are you sure you want to do this thingy?</p>
<ul>
<li>This could be bad</li>
<li>This could be very bad</li>
<li>This might be very bad</li>
</ul>
@endcomponent
<script nonce="{{ $cspNonce }}">
setTimeout(async () => {
const result = await window.components["confirm-dialog"][0].show();