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

POSTing form data breaks html inline styles

Open faaizajaz opened this issue 4 years ago • 1 comments

POSTing Quill form data to DRF APIView breaks the html by adding \ characters such that the html does not work.

For example:

<p><span class=\"ql-font-monospace\">Seeing if this helps.</span></p>

This can be seen in the console as well:

Screenshot from 2020-08-01 17-27-26

faaizajaz avatar Aug 01 '20 12:08 faaizajaz

This project did not consider DRF, but you can write separate javascript code and convert it to the data format sent by DRF. I'm still working on resolving this issue.

LeeHanYeong avatar Aug 03 '20 15:08 LeeHanYeong