From 214045165c2f97dfca8d11368270e7335c80cc0e Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Tue, 11 Aug 2015 11:26:24 -0500 Subject: [PATCH] Update README to include new options --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1d3b3f6..cb2f28d 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ simplemde.value(); - **lineWrapping**: If set to `false`, disable line wrapping. Defaults to `true`. - **indentWithTabs**: If set to `false`, indent using spaces instead of tabs. Defaults to `true`. - **tabSize**: If set, customize the tab size. Defaults to `2`. +- **initialValue**: If set, will customize the initial value of the editor. - **spellChecker**: If set to `false`, disable the spell checker. Defaults to `true`. - **autosave**: *Saves the text that's being written. It will forget the text when the form is submitted.* - **enabled**: If set to `true`, autosave the text. Defaults to `false`. @@ -73,10 +74,14 @@ var simplemde = new SimpleMDE({ status: false, status: ['autosave', 'lines', 'words', 'cursor'], // Optional usage toolbar: false, + toolbarTips: false, + toolbarGuideIcon: false, autofocus: true, lineWrapping: false, indentWithTabs: false, tabSize: 4, + initialValue: "Hello world!", + spellChecker: false, autosave: { enabled: true, unique_id: "MyUniqueID",