ckeditor / github-writer

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

Preserve PR content when changing target branch #436

Open Dumluregn opened 1 year ago

Dumluregn commented 1 year ago

📝 Provide a description of the improvement

If you start a PR, write something and change the target branch, editor content is flushed. It's unexpected and can cause someone to lose some work. The workaround is to go back in navigation and copy the content before changing the branch, then paste the content back.

We could simply keep it and restore for the user.

📃 Other details


If you'd like to see this improvement implemented, add a 👍 reaction to this post.