mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-15 20:25:17 +02:00
Fix README variable type
This commit is contained in:
parent
6e17a82530
commit
3535ee7cd7
|
@ -57,7 +57,7 @@ simplemde.codemirror.getValue();
|
|||
- **autofocus**: If set `true`, autofocuses the editor. Defaults to `false`.
|
||||
- **lineWrapping**: If set `false`, disable line wrapping. Defaults to `true`.
|
||||
- **indentWithTabs**: If set `false`, indent using spaces instead of tabs. Defaults to `true`.
|
||||
- **tabSize**: If set, customize the tab size. Defaults to `'2'`.
|
||||
- **tabSize**: If set, customize the tab size. Defaults to `2`.
|
||||
|
||||
```JavaScript
|
||||
new SimpleMDE({
|
||||
|
@ -67,7 +67,7 @@ new SimpleMDE({
|
|||
autofocus: true,
|
||||
lineWrapping: false,
|
||||
indentWithTabs: false,
|
||||
tabSize: '4',
|
||||
tabSize: 4,
|
||||
});
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue