taoguan / jwysiwyg

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

HTML is stripped from Initial content #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have some HTML code in the textarea that you convert to a wysiwyg
editor. Once the editor loads - it strips the HTML

What is the expected output? What do you see instead?
HTML should be used to format the text

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

Please provide any additional information below.
This can be easily fixed by changing line 376 (roughly) from:

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

to

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

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

GoogleCodeExporter commented 8 years ago
I think this is wrong.  See 
http://code.google.com/p/jwysiwyg/issues/detail?id=52 for
a bugfix.

Original comment by dev.unle...@googlemail.com on 20 Oct 2008 at 10:17

GoogleCodeExporter commented 8 years ago
Fixed at Revision 28.

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