mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-12 12:34:29 -06: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`.
|
- **autofocus**: If set `true`, autofocuses the editor. Defaults to `false`.
|
||||||
- **lineWrapping**: If set `false`, disable line wrapping. Defaults to `true`.
|
- **lineWrapping**: If set `false`, disable line wrapping. Defaults to `true`.
|
||||||
- **indentWithTabs**: If set `false`, indent using spaces instead of tabs. 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
|
```JavaScript
|
||||||
new SimpleMDE({
|
new SimpleMDE({
|
||||||
@ -67,7 +67,7 @@ new SimpleMDE({
|
|||||||
autofocus: true,
|
autofocus: true,
|
||||||
lineWrapping: false,
|
lineWrapping: false,
|
||||||
indentWithTabs: false,
|
indentWithTabs: false,
|
||||||
tabSize: '4',
|
tabSize: 4,
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user