remove autosave

This commit is contained in:
Diego Najar 2018-01-20 18:20:06 +01:00
parent f27f8a639f
commit d1598c0f3f
1 changed files with 0 additions and 13 deletions

View File

@ -31,14 +31,6 @@ class pluginsimpleMDE extends Plugin {
$html .= '<input name="tabSize" id="jstabSize" type="text" value="'.$this->getDbField('tabSize').'">'; $html .= '<input name="tabSize" id="jstabSize" type="text" value="'.$this->getDbField('tabSize').'">';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>';
$html .= '<label>'.$Language->get('autosave').'</label>';
$html .= '<select name="autosave">';
$html .= '<option value="true" '.($this->getValue('autosave')===true?'selected':'').'>'.$Language->get('enabled').'</option>';
$html .= '<option value="false" '.($this->getValue('autosave')===false?'selected':'').'>'.$Language->get('disabled').'</option>';
$html .= '</select>';
$html .= '</div>';
$html .= '<div>'; $html .= '<div>';
$html .= '<label>'.$Language->get('spell-checker').'</label>'; $html .= '<label>'.$Language->get('spell-checker').'</label>';
$html .= '<select name="spellChecker">'; $html .= '<select name="spellChecker">';
@ -122,11 +114,6 @@ class pluginsimpleMDE extends Plugin {
indentWithTabs: true, indentWithTabs: true,
tabSize: '.$this->getDbField('tabSize').', tabSize: '.$this->getDbField('tabSize').',
spellChecker: '.$spellCheckerEnable.', spellChecker: '.$spellCheckerEnable.',
autosave: {
enabled: '.$autosaveEnable.',
uniqueId: "'.$autosaveID.'",
delay: 1000,
},
toolbar: ['.Sanitize::htmlDecode($this->getDbField('toolbar')).', toolbar: ['.Sanitize::htmlDecode($this->getDbField('toolbar')).',
"|", "|",
{ {