Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow saving only when the content of the instance has been modified #181

Closed
firm1 opened this issue Apr 15, 2020 · 0 comments · Fixed by #182
Closed

Allow saving only when the content of the instance has been modified #181

firm1 opened this issue Apr 15, 2020 · 0 comments · Fixed by #182

Comments

@firm1
Copy link

firm1 commented Apr 15, 2020

Hello,

Is your feature request related to a problem? Please describe.

Currently the automatic recording of the content is done automatically over a period defined by the delay option.

This operation poses some problems, especially when you open two tabs on the same page, you have the same uniqueId.

The concern is that when you modify the second tab opened, as soon as you find yourself in the case where the (old) data of the first tab periodically overwrites the content of the localstorage even if you are modifying the second tab.

Describe the solution you'd like

The solution would be to have an option that allows you to make the save when you modify the text of the current easymde instance.

Describe alternatives you've considered

I can think of no more effective way to deal with the subject.

firm1 added a commit to firm1/easy-markdown-editor that referenced this issue Jun 8, 2020
Ionaru added a commit that referenced this issue Jun 11, 2020
fix #181 : allow saving only on change content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant