File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ simplemde.value("This text will appear in the editor");
103
103
- ** spellChecker** : If set to ` false ` , disable the spell checker. Defaults to ` true ` .
104
104
- ** status** : If set to ` false ` , hide the status bar. Defaults to the array of built-in status bar items.
105
105
- Optionally, you can set an array of status bar items to include, and in what order. You can even define your own custom status bar items.
106
+ - ** styleSelectedText** : If set to ` false ` , remove ` .CodeMirror-selectedtext ` class from selected lines. Defaults to ` true ` .
106
107
- ** tabSize** : If set, customize the tab size. Defaults to ` 2 ` .
107
108
- ** toolbar** : If set to ` false ` , hide the toolbar. Defaults to the [ array of icons] ( #toolbar-icons ) .
108
109
- ** toolbarTips** : If set to ` false ` , disable toolbar button tips. Defaults to ` true ` .
109
- - ** styleSelectedText** : If set to ` false ` , remove ` .CodeMirror-selectedtext ` class from selected lines. Defaults to ` true ` .
110
110
111
111
``` JavaScript
112
112
// Most options demonstrate the non-default behavior
@@ -171,6 +171,7 @@ var simplemde = new SimpleMDE({
171
171
el .innerHTML = ++ this .keystrokes + " Keystrokes" ;
172
172
}
173
173
}], // Another optional usage, with a custom status bar item that counts keystrokes
174
+ styleSelectedText: false ,
174
175
tabSize: 4 ,
175
176
toolbar: false ,
176
177
toolbarTips: false ,
You can’t perform that action at this time.
0 commit comments