Cannot Save Draft With More Than 20K Characters
utopian-io·@eastmael·
0.000 HBDCannot Save Draft With More Than 20K Characters
<center></center> 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 1. Create a new Contribution 1. Select a repository 1. Input the title 1. 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](https://utopian.io/utopian-io/@eastmael/utopian-io-bot-analysis-top-20-contributors-steemit-business-intelligence) and copied and pasted it four times (5,209 x 4 = 20,836 characters); 1. Input tags 1. Wait for draft autosave to complete *  1. Traverse to another page 1. 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]](https://www.pexels.com/photo/sharpened-blue-wooden-pencil-159731/) <br /><hr/><em>Open Source Contribution posted via <a href="https://utopian.io/utopian-io/@eastmael/cannot-save-draft-with-more-than-20k-characters">Utopian.io</a></em><hr/>
👍 opaulo, saiku, trueart, topbro, rt395, spotlight, steemitbc, deveerei, tokenteller, primetimesports, cryptotrade007, jassennessaj, bearone, stylo, bayanihan, resteeminator, philippinetrail, gailbelga, kcire, robiney, drawingwithflare, reiban, haneun, blessednami, artofsteempunk, utopian-io, aharznaha, verakriul, atimeesh, opulentcurrency, dharnarh, slimanepro, atherz, eastmael, hiroyamagishi,