karthick2014 / jwysiwyg

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

Initial textarea content/value not loaded #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a page containing a textarea with pre-existing content.
2. Attach jwysiwyg to the textarea.
3. Empty editor.

What is the expected output? What do you see instead?
Editor with existing textarea contents.

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

Please provide any additional information below.

Replace line 376:

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

with

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

Original issue reported on code.google.com by dev.unle...@googlemail.com on 20 Oct 2008 at 10:11

Attachments:

GoogleCodeExporter commented 8 years ago
Critical bug with elegant solution...

Original comment by robloach on 20 Oct 2008 at 10:29

GoogleCodeExporter commented 8 years ago
Fixed at Revision 28.

Original comment by joksnet on 21 Oct 2008 at 12:08