karthick2014 / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Original textarea is not updated #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The original <textarea> is not updated when updating the editor. Also I
can not get to the iframe > body with jQuery to retireve the updated content.

What is the expected output? What do you see instead?

Every time I enter something the original textarea should be updated

What version of the product are you using? On what operating system?

WYSIWYG - jQuery plugin 0.4 - browsing with Win/FF3

Please provide any additional information below.

Original issue reported on code.google.com by sorenb...@gmail.com on 24 Jun 2008 at 3:42

GoogleCodeExporter commented 8 years ago
Same for me, even with FF2

Original comment by fra...@gmail.com on 7 Jul 2008 at 5:24

GoogleCodeExporter commented 8 years ago
It works for me, I'd forgotten 'name' attribute in textarea

Original comment by fra...@gmail.com on 7 Jul 2008 at 8:25

GoogleCodeExporter commented 8 years ago
Yeah - I had used a class to identify the object

Original comment by sorenb...@gmail.com on 9 Jul 2008 at 10:26

GoogleCodeExporter commented 8 years ago
perhaps this line at about line 376 should be changed from:

this.initialContent = $(element).text();

to 

this.initialContent = $(element).val();

Original comment by kuahy...@gmail.com on 24 Jul 2008 at 12:10

GoogleCodeExporter commented 8 years ago
I'm experiencing this bug on IE7/XP when copy-pasting to editor (the last 
pasted text is doesnt end up being 
submitted)

Original comment by glum...@gmail.com on 4 Aug 2008 at 9:03

GoogleCodeExporter commented 8 years ago
@glum.ua

changing line 449 to:

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

fixes the bug

Original comment by glum...@gmail.com on 4 Aug 2008 at 10:24

GoogleCodeExporter commented 8 years ago
Fixed at Revision 25

Original comment by joksnet on 26 Sep 2008 at 1:23