Skip to content

Commit 9b86a17

Browse files
committed
Updated readme
1 parent f32bc28 commit 9b86a17

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ Optionally, include the script of Bootstrap to enable tooltips:
5050
<script src="bower_components/bootstrap-markdown-editor/dist/js/bootstrap-markdown-editor.js"></script>
5151
```
5252

53-
Create a div for the editor with optional content in markdown format:
53+
Create a textarea for the editor with optional content in markdown format:
5454

5555
```html
56-
<div id="myEditor"># Test</div>
56+
<textarea name="text" id="myEditor"># Test</textarea>
5757
```
5858

5959
Initialize the editor:
@@ -62,12 +62,6 @@ Initialize the editor:
6262
$('#myEditor').markdownEditor();
6363
```
6464

65-
To get the content in any moment:
66-
67-
```javascript
68-
var markdownContent = $('#myEditor').markdownEditor('content');
69-
```
70-
7165
## Implementing the preview
7266

7367
You have to implement the parsing of the Markdown.

0 commit comments

Comments
 (0)