Skip to content

Commit

Permalink
Example updated to show how to disable auto-formatting and keyboard s…
Browse files Browse the repository at this point in the history
…hortcuts.
  • Loading branch information
Twipped committed May 5, 2011
1 parent 33cbfdc commit 9ed6ceb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wmd-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9ed6ceb

Please sign in to comment.