hvlads / django-ckeditor-5

Django CKEditor 5 integration.
Other
152 stars 60 forks source link

HTMX support #210

Open llPekoll opened 7 months ago

llPekoll commented 7 months ago

Hello there,

I'm curious if there are any plans to make Django CKEditor 5 compatible with HTMX?

Currently, when sending an HTMX request with Django CKEditor 5, the payload of the fields appears to be empty. It seems that HTMX sends the request before the field is populated with the value of the widget.

While it's possible to set it manually with JavaScript, it's cumbersome to do so every time. It would be great if this could work seamlessly out of the box.

Could you confirm if my understanding is correct?

Best Regards,

hvlads commented 1 month ago

Hi, @llPekoll If you’re able to do this manually, why not make a contribution to our project? A PR would be greatly appreciated! 😊