This commit is contained in:
Dan Harrin
2025-09-02 10:15:46 +01:00
parent f2cfdd5528
commit 5f94573e85
2 changed files with 9 additions and 2 deletions
@@ -81,7 +81,14 @@
<ul
x-sortable
data-sortable-animation-duration="{{ $getReorderAnimationDuration() }}"
x-on:end.stop="$event.oldIndex !== $event.newIndex && $wire.mountAction('reorder', { items: $event.target.sortable.toArray() }, { schemaComponent: '{{ $key }}' })"
x-on:end.stop="
$event.oldIndex !== $event.newIndex &&
$wire.mountAction(
'reorder',
{ items: $event.target.sortable.toArray() },
{ schemaComponent: '{{ $key }}' },
)
"
class="fi-fo-builder-items"
>
@php
@@ -353,7 +353,7 @@ class RichContentRenderer implements Htmlable
public function toText(): string
{
$editor = $this->getEditor();
$this->processMergeTags($editor);
return $editor->getText();