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
EasyMDE and Trix Editor vanishing with Livewire Validation #80
Comments
Hi, The problem comes from the fact Livewire re-render the Dom and the javascript initialization isn't applied anymore to the regenerated Dom. I've faced the problem. We need to wrap the trix-editor tag into a div with the wire:ignore attributes. Same trick will fix easyMDE. will PR on it probably today. |
+1 - Also, the trix editor doesn't even seem to take wire:model into initial consideration & updates to it are 1 character behind. |
Hi @Xinecraft, |
Wrap the component in |
@driesvints I can create a PR to fix this issue. Is it worth it? |
@alexmanase yes I believe so. Would appreciate it! |
This should be fixed now! |
Hi there,
I am trying to add live validation on a form and whenever any part of the form changes the EasyMDE editor just become normal textarea.
Am I missing something which I can't find in docs?
Reference:
https://i.imgur.com/0RYUtT6.gif
The text was updated successfully, but these errors were encountered: