-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why image tag is cut off in trix editor component of livewire app? #1142
Comments
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.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ?
The text was updated successfully, but these errors were encountered: