From 78612cd34d67b58b5fbc510d21cb8fbfe8a6e9bf Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Wed, 9 Dec 2009 10:20:32 +0530 Subject: [PATCH] wmd is ready to work on multiple textareas --- wmd-test.html | 28 +++++++++++++++++++++++----- wmd.css | 4 ++-- wmd.js | 2 -- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/wmd-test.html b/wmd-test.html index 37ad051..d6963df 100644 --- a/wmd-test.html +++ b/wmd-test.html @@ -11,12 +11,18 @@ -
-
- +
+
+ +
+
+ +
+
+
-
-
+
+

To test that page up/down and arrow keys work, copy this above the WMD control.

@@ -149,5 +155,17 @@

+ diff --git a/wmd.css b/wmd.css index 6610b76..a0ff793 100644 --- a/wmd.css +++ b/wmd.css @@ -16,13 +16,13 @@ body background-color: Aquamarine; } -#wmd-button-bar +.wmd-button-bar { width: 100%; background-color: Silver; } -#wmd-input +.wmd-input { height: 500px; width: 100%; diff --git a/wmd.js b/wmd.js index 957377d..75ff0a9 100644 --- a/wmd.js +++ b/wmd.js @@ -2306,5 +2306,3 @@ if(!Attacklab.wmd) }; } - -setup_wmd(); \ No newline at end of file