django-quill-editor icon indicating copy to clipboard operation
django-quill-editor copied to clipboard

Field not saved on Inlines

Open rafaponieman opened this issue 4 years ago • 4 comments

It seems like the editor works on inlines, but the value doesn't get saved the first time I try. When trying to save, the page reloads displaying required field errors (my QuillFields are required in this case), and the content is lost. If I fill in the fields once more, and save again it does get saved properly.

Thank you!!

rafaponieman avatar Dec 18 '20 01:12 rafaponieman

Hey, try using my forked repo (available under https://github.com/michaldyczko/django-quill-editor). I fixed that and use it on my projects. It seems to be working :)

michaldyczko avatar Jan 08 '21 23:01 michaldyczko

Thank you @michaldyczko! I ended up not using Quill on inlines in the end, but if I do I'll try it and let you know if the fix worked.

rafaponieman avatar Jan 09 '21 14:01 rafaponieman

@rafaponieman @michaldyczko and @LeeHanYeong There is a PR that I created that aims to solve this issue; https://github.com/LeeHanYeong/django-quill-editor/pull/48

Thanks!

joepreludian avatar May 02 '21 04:05 joepreludian

Noticing this behavior too 👀 here to see what happens

tomxbarnesx avatar Oct 12 '21 21:10 tomxbarnesx