Ckeditor after DOM change

What seems to be the problem: ckeditor is not replacing a <textarea> field with the editor

Steps to Reproduce: I am using ckeditor 5 and have

<script src="{{ asset('ckeditor/ckeditor.js') }}"></script>

at the bottom of views/layouts.app.blade.php file just before the </body> tag.

When I use class=“ckeditor” on a <textarea> in a view not created with Livewire it correctly renders the editor.

If I use a similar <textarea> in a view generated by Livewire, it correctly displays the editor until the DOM is refreshed (or part of it) by Livewire, when it reverts back to a standard <textarea>. Using wire:ignore keeps the editor in place. So far so good.

However, I have a <textarea> that is inserted in the DOM by Livewire, so it is not present when the page first loads, but may be subsequently loaded. Despite having the correct class, the field is never changed into an editor field.

Is there any call that I make after Livewire updates the DOM to create a new instance of ckeditor on this newly inserted field?