Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions resources/views/livewire/quill-text-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@script
<script>
const quill = new Quill('#' + @js($quillId), {
readOnly: @js($readOnly),
theme: @js($theme)
});

Expand Down
1 change: 1 addition & 0 deletions src/Http/Livewire/QuillTextEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class QuillTextEditor extends Component
public string $quillId;

public string $theme;
public bool $readOnly = false;

public function mount(string $theme = 'snow'): void
{
Expand Down