From 91c9b9cb22a03df0a5028c99c5e02d34c5dcbcd9 Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Fri, 26 Jun 2015 14:47:20 -0500 Subject: [PATCH] Update readme with another option for status --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ee77268..f24fffd 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ simplemde.codemirror.getValue(); - **element**: The DOM element for the textarea to use. Defaults to the first textarea on the page. - **status**: If set `false`, hide the status bar. Defaults to `true`. + - Optionally, you can set an array of status bar elements to include like `['lines', 'words', 'cursor']` - **toolbar**: If set `false`, hide the toolbar. Defaults to `true`. - **autofocus**: If set `true`, autofocuses the editor. Defaults to `false`. - **lineWrapping**: If set `false`, disable line wrapping. Defaults to `true`. @@ -63,6 +64,7 @@ simplemde.codemirror.getValue(); new SimpleMDE({ element: document.getElementById("MyID"), status: false, + status: ['lines', 'words', 'cursor'], // Optional usage toolbar: false, autofocus: true, lineWrapping: false,