svivian / q2a-markdown-editor

Markdown editor plugin for Question2Answer
55 stars 24 forks source link

Ask on leave #29

Open rklec opened 4 years ago

rklec commented 4 years ago

Can we get an integrated function to ask the user before leaving a page?

Plugins like https://github.com/q2apro/q2apro-warn-on-leave do not work, because they are editor-specific/need to be aware of the editor. Could you integrate that as an option for everyone maybe?

Also asked the other plugin for support: https://github.com/q2apro/q2apro-warn-on-leave/issues/1

rklec commented 4 years ago

Ah ok, it works with https://github.com/NoahY/q2a-confirm. Anyway, you could integrate that in your plugin, too.