Jaromi / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
0 stars 0 forks source link

chops last character #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add the required script and tags
2. write "test" in the box
3. alert the box value and says "tes"

What is the expected output? What do you see instead?
I expected to see the word "test" and i get "tes"

What version of the product are you using? On what operating system?
WYSIWYG - jQuery plugin 0.4 on Windows

Please provide any additional information below.

Original issue reported on code.google.com by aelienpr...@gmail.com on 5 Jan 2009 at 1:40

GoogleCodeExporter commented 8 years ago
Just to let you know that i have solved the problem by adding this code:

 $(this.editorDoc).keyup(function() { self.saveContent(); })
                  .mousedown(function() { self.saveContent(); });

thanks

Original comment by aelienpr...@gmail.com on 8 Jan 2009 at 3:55

GoogleCodeExporter commented 8 years ago
can you please explain where will u write $(this.editorDoc), what does 
editorDoc refer to

Original comment by pankajbh...@gmail.com on 13 Jan 2009 at 10:57

GoogleCodeExporter commented 8 years ago
At line 450 in the jquery.wysiwyg.js file you must add the .keyup event 
mentioned.

Original comment by aelienpr...@gmail.com on 14 Jan 2009 at 6:01

GoogleCodeExporter commented 8 years ago

Original comment by joksnet on 5 Mar 2009 at 11:11