ckeditor / github-writer

GitHub Writer - WYSIWYG Rich-Text Editor for GitHub, powered by CKEditor.
https://ckeditor.com/
Other
376 stars 61 forks source link

Double submit when commenting #432

Open illia-stv opened 1 year ago

illia-stv commented 1 year ago

### Suggested merge commit message ([convention](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/git-commit-message-convention.html))

Fix ( Github Writer ): Double submit when commenting. Closes #227.

---

### Additional information

In this pull request we just adding action to pendingAction collection after user click on submit button and removing that action after editor is restarted. While any action is in pendingAction collection, button submit will be disabled, what preventing possibility clicking on that again.