mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-22 17:34:37 -06:00
move line to another section ,rollback unneded change
This commit is contained in:
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…
x
Reference in New Issue
Block a user