Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…hortcuts.
  • Loading branch information...
commit 9ed6cebacc3c446948a2cb87f151aae5f30bd147 1 parent 33cbfdc
@ChiperSoft authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 wmd-test.html
View
6 wmd-test.html
@@ -28,12 +28,14 @@
</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>
Please sign in to comment.
Something went wrong with that request. Please try again.