We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a546b4d + 9e8ff26 commit edc2169Copy full SHA for edc2169
editormd.js
@@ -1965,14 +1965,15 @@
1965
1966
save : function() {
1967
1968
- if (timer === null)
+ var _this = this;
1969
+ var state = this.state;
1970
+ var settings = this.settings;
1971
+
1972
+ if (timer === null && !(!settings.watch && state.preview))
1973
{
1974
return this;
1975
}
1976
- var _this = this;
- var state = this.state;
- var settings = this.settings;
1977
var cm = this.cm;
1978
var cmValue = cm.getValue();
1979
var previewContainer = this.previewContainer;
0 commit comments