Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
When I write an answer and click on Save Post in Q&A . Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on Cancel. The...
#4: Post edited
- When I write an answer and click on
- <a class="button is-filled">Save Post in Q&A</a>
- . Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?
" href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <a class="button is-filled">Save Post in Q&A</a> will be a good idea.
- When I write an answer and click on
- <a class="button is-filled">Save Post in Q&A</a>
- . Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?
- ">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <a class="button is-filled">Save Post in Q&A</a> will be a good idea.
#3: Post edited
When I write an answer and click on <input type="submit" value="Save Post in Q&A" class="button is-filled">. Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?" href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <input type="submit" value="Save Post in Q&A" class="button is-filled"> will be a good idea.
- When I write an answer and click on
- <a class="button is-filled">Save Post in Q&A</a>
- . Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?
- " href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <a class="button is-filled">Save Post in Q&A</a> will be a good idea.
#2: Post edited
When I write an answer and click on <input type="submit" name="commit" value="Save Post in Q&A" class="button is-filled" data-disable-with="Save Post in Q&A">. Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?" href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <input type="submit" name="commit" value="Save Post in Q&A" class="button is-filled" data-disable-with="Save Post in Q&A"> will be a good idea.
- When I write an answer and click on <input type="submit" value="Save Post in Q&A" class="button is-filled">. Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure?
- " href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <input type="submit" value="Save Post in Q&A" class="button is-filled"> will be a good idea.
#1: Initial revision
clearing draft after clicking "Save Post in Q&A"
When I write an answer and click on <input type="submit" name="commit" value="Save Post in Q&A" class="button is-filled" data-disable-with="Save Post in Q&A">. Then, the answer doesn't remove from draft. After reloading the page the answer is saved in draft also. But, when I click on <a class="button is-muted is-outlined is-danger js-cancel-edit" data-question-body="Any unsaved changes will be lost. Are you sure? " href="/posts/281822">Cancel</a>. Then, I saw the draft was cleared. I think deleting the draft after clicking on <input type="submit" name="commit" value="Save Post in Q&A" class="button is-filled" data-disable-with="Save Post in Q&A"> will be a good idea.