Cannot Save Draft With More Than 20K Characters

This was an issue raised by @elear to me in discord.
1. Expected Behavior
When creating a contribution with more than 20,000 characters, draft should be automatically saved.
2. Actual Behavior
Contribution with more than 20,000 characters was not automatically saved and the following error displayed in the browser's console:
3. Replication
3.1. Steps
- Create a new Contribution
- Select a repository
- Input the title
- Create a body with more than 20k characters
- You can just copy an existing blog then copy & paste them multiple times until you exceed 20k characters
- I used the text (5,209 characters) from this post and copied and pasted it four times (5,209 x 4 = 20,836 characters);
- Input tags
- Wait for draft autosave to complete
- Traverse to another page
- Go to your drafts
3.2 Result
The draft's not there. Or if there's one with the same title, the content is not the same with the body you composed with more than 20,000 characters and the following error displayed in the browser's console:
Image Sources: [1]
Open Source Contribution posted via Utopian.io


Hey @eastmael I am @utopian-io. I have just super-voted you at 25% Power!
Suggestions https://utopian.io/rules
Achievements
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Thank you. :)
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Thank you. Already working on it.
Mabuhay! Your post has been upvoted by the @bayanihan curation team.