Skip to content

Commit 9e104c8

Browse files
committed
Update Readme.md
Adds description for method setContent
1 parent 5dde4b0 commit 9e104c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ This object contains the strings that can be translated
251251
### Methods
252252

253253
The methods are invoked passing the name of the method as string.
254-
Only one method is available:
255254

256255
```javascript
257256
var content = $('#myEditor').markdownEditor('content'); // Returns the content of the editor
257+
$('#myEditor').markdownEditor('setContent', content); // Sets the content of the editor
258258
```
259259

260260
## License

0 commit comments

Comments
 (0)