ZeroX-DG / SnippetStore

:tada: A snippet management app for developers :rocket:
https://zerox-dg.github.io/SnippetStoreWeb/
MIT License
869 stars 81 forks source link

Editing Markdown in preview mode is broken. #37

Closed bantya closed 5 years ago

bantya commented 5 years ago

Current Behavior

Clicking the edit button in current Markdown preview implementation does not work. It does not go to the edit mode, but shows the apply and cancel buttons. The preview area freezes. Clicking the apply edit button does nothing. Clicking the cancel edit button crashes the app. To make the app responsive again, had to reload it manually.

Demonstration

md_edit_problem

Expected Behavior

Editing the Markdown snippet during preview mode should take it directly to edit mode. All the editing and the buttons should work as normal.

System Info

sys_info

ZeroX-DG commented 5 years ago

Fixed in 64b74cc