move line to another section ,rollback unneded change

pull/235/head
Ivan Borshchov 4 years ago
parent 2c793ee418
commit 2745b03b71

@ -73,8 +73,6 @@ var easyMDE = new EasyMDE();
</script>
```
If you need to remove installed listeners (when editor not needed anymore), call `easyMDE.cleanup()`
Alternatively you can select a specific TextArea, via Javascript:
```html
@ -474,6 +472,8 @@ easyMDE.toTextArea();
easyMDE = null;
```
If you need to remove installed listeners (when editor not needed anymore), call `easyMDE.cleanup()`
### Useful methods

@ -2049,8 +2049,7 @@ EasyMDE.prototype.render = function (el) {
if (options.status !== false) {
this.gui.statusbar = this.createStatusbar();
}
var autosaveEnabled = options.autosave != undefined && options.autosave.enabled === true;
if (autosaveEnabled) {
if (options.autosave != undefined && options.autosave.enabled === true) {
this.autosave(); // use to load localstorage content
this.codemirror.on('change', function () {
clearTimeout(self._autosave_timeout);

Loading…
Cancel
Save