File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ Optionally, include the script of Bootstrap to enable tooltips:
50
50
<script src =" bower_components/bootstrap-markdown-editor/dist/js/bootstrap-markdown-editor.js" ></script >
51
51
```
52
52
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:
54
54
55
55
``` html
56
- <div id =" myEditor" ># Test</div >
56
+ <textarea name = " text " id =" myEditor" ># Test</textarea >
57
57
```
58
58
59
59
Initialize the editor:
@@ -62,12 +62,6 @@ Initialize the editor:
62
62
$ (' #myEditor' ).markdownEditor ();
63
63
```
64
64
65
- To get the content in any moment:
66
-
67
- ``` javascript
68
- var markdownContent = $ (' #myEditor' ).markdownEditor (' content' );
69
- ```
70
-
71
65
## Implementing the preview
72
66
73
67
You have to implement the parsing of the Markdown.
You can’t perform that action at this time.
0 commit comments