Permalink
Browse files

Example updated to show how to disable auto-formatting and keyboard s…

…hortcuts.
  • Loading branch information...
Twipped committed May 5, 2011
1 parent 33cbfdc commit 9ed6cebacc3c446948a2cb87f151aae5f30bd147
Showing with 4 additions and 2 deletions.
  1. +4 −2 wmd-test.html
View
@@ -28,12 +28,14 @@ <h1>WMD Example</h1>
</div>
<script type="text/javascript">
- setup_wmd({
+ new WMDEditor({
input: "notes",
button_bar: "notes-button-bar",
preview: "notes-preview",
output: "copy_html",
- buttons: "bold italic link ol ul heading"
+ buttons: "bold italic link ol ul heading",
+ modifierKeys: false,
+ autoFormatting: false
});
</script>
</body>

0 comments on commit 9ed6ceb

Please sign in to comment.