How to setup tinymce with livewire

<div wire:ignore>
 <textarea  wire:model.debounce.999999ms="newCommentText"
    wire:key="uniqueKey" name="content" class="form-control my-editor"></textarea>
      </div>

how to i @this set value of it

2 Likes
<div class="mb-2" wire:ignore>
     <label class="block font-medium text-sm text-gray-700" for="page-text-editor">Текст страницы</label>
     <textarea class="page_text form-input rounded-md shadow-sm mt-1 block w-full " id="page_text"
            name="page_text" rows="20"
            wire:model.debounce.9999999ms="page_text"
            wire:key="page_text"
            x-data
            x-ref="page_text"
            x-init="
                    tinymce.init({
                         path_absolute: '/',
                         selector: 'textarea.page_text',
                         plugins: [
                              'advlist autolink lists link image charmap print preview hr anchor pagebreak',
                               'searchreplace wordcount visualblocks visualchars code fullscreen ',
                               'insertdatetime media nonbreaking save table directionality',
                               'emoticons template paste textpattern  imagetools help  '
                                ],
                                 toolbar: 'insertfile undo redo | styleselect | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media | help ',
                                 relative_urls: false,
                                 remove_script_host : false,
                                 document_base_url: '{{config('app.url')}}/',
                                 language: 'ru',
                                 setup: function (editor) {
                                         editor.on('init change', function () {
                                                   editor.save();
                                           });
                                editor.on('change', function (e) {
                                         @this.set('page_text', editor.getContent());
                                 });
                                  },
                                  });
                                 ">
        </textarea>
</div>