Skip to content

Commit

Permalink
Merge pull request #14 from JamesHemery/patch-1
Browse files Browse the repository at this point in the history
Allow multiple editors on same page
  • Loading branch information
freekmurze committed Apr 24, 2023
2 parents b56b4b2 + 6f436a0 commit bfaeb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/markdownField.blade.php
Expand Up @@ -23,7 +23,7 @@ function debounce(func, timeout = 300) {
</script>

<div
x-data="{ state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')') }} }"
x-data="{ state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')') }}, editor: null }"
x-init="
editor = new EasyMDE({
autoDownloadFontAwesome: false,
Expand Down

0 comments on commit bfaeb2e

Please sign in to comment.