mirror of
https://github.com/brufdev/many-notes.git
synced 2026-05-12 13:20:55 -05:00
Fix failing tests
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<x-markdownEditor.items x-show="isToolbarOpen" x-anchor.bottom="$refs.button">
|
||||
<x-markdownEditor.subButton @click="$wire.dispatchTo('modals.markdown-editor-search', 'open-modal')">{{ __('Link') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton @click="link()">{{ __('External link') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton@click="$wire.dispatchTo('modals.markdown-editor-search', 'open-modal', { type: 'image' })">{{ __('Image') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton @click="$wire.dispatchTo('modals.markdown-editor-search', 'open-modal', { type: 'image' })">{{ __('Image') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton @click="image()">{{ __('External image') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton @click="table">{{ __('Table') }}</x-markdownEditor.subButton>
|
||||
<x-markdownEditor.subButton @click="$wire.dispatchTo('modals.markdown-editor-template', 'open-modal', { selectedFile: $wire.selectedFile })">{{ __('Template') }}</x-markdownEditor.subButton>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<div
|
||||
class="flex flex-col items-center justify-center w-full h-48 border-2 border-dashed rounded-lg border-light-base-300 dark:border-base-500"
|
||||
x-data="{ uploading: false, progress: 0 }"
|
||||
@livewire-upload-start="uploading = true"
|
||||
@livewire-upload-finish="uploading = false"
|
||||
@livewire-upload-cancel="uploading = false"
|
||||
@livewire-upload-error="uploading = false"
|
||||
@livewire-upload-progress="progress = $event.detail.progress"
|
||||
x-on:livewire-upload-start="uploading = true"
|
||||
x-on:livewire-upload-finish="uploading = false"
|
||||
x-on:livewire-upload-cancel="uploading = false"
|
||||
x-on:livewire-upload-error="uploading = false"
|
||||
x-on:livewire-upload-progress="progress = $event.detail.progress"
|
||||
>
|
||||
<label
|
||||
for="file-upload"
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<div
|
||||
class="flex flex-col items-center justify-center w-full h-48 border-2 border-dashed rounded-lg border-light-base-300 dark:border-base-500"
|
||||
x-data="{ uploading: false, progress: 0 }"
|
||||
@livewire-upload-start="uploading = true"
|
||||
@livewire-upload-finish="uploading = false"
|
||||
@livewire-upload-cancel="uploading = false"
|
||||
@livewire-upload-error="uploading = false"
|
||||
@livewire-upload-progress="progress = $event.detail.progress"
|
||||
x-on:livewire-upload-start="uploading = true"
|
||||
x-on:livewire-upload-finish="uploading = false"
|
||||
x-on:livewire-upload-cancel="uploading = false"
|
||||
x-on:livewire-upload-error="uploading = false"
|
||||
x-on:livewire-upload-progress="progress = $event.detail.progress"
|
||||
>
|
||||
<label
|
||||
for="file-upload"
|
||||
|
||||
Reference in New Issue
Block a user