Open sergeynilov opened 5 months ago
This seems to be a duplicate of #1137?
This seems to be a duplicate of #1137?
Yes, sorry. I tried to delete message on Feb 23, but did not find such option .
Maybe close one of them then? (Just to be clear: I'm not part of the project, I was just taking a pass through the open issues to get a feel for its current state.)
Reading this https://devdojo.com/tnylea/laravel-livewire-trix-editor-component article I added trix-editor on laravel 10 / livewire 3 app / kubuntu 22.04 / Google Chrome Version 123 / trix 1.3.1 / . It works but until image is selected into trix editor - saving content all html from the point when image is selected is cut.
I have a trix editor component :
and using of this component on blade form :
But even outputting $content var on the content I see :
Any hints why image is cleared and can I fix it ?
Checking output of trixEditor.getAttribute('value') var - I see image is not inside of trixEditor.getAttribute('value') : this html block is cut off :
even in case if after adding image I add some text after image - I see this new text block
I suppose this is problem on trix side, not livewire ? Can it be some security issue ?