taoguan / jwysiwyg

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

Resolution: Problems with MSIE 8 (focus), new insertHtml method #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open MSIE 8
2. Click to empty jwysiwyg field.
3. Try to call ed.wysiwyg('insertImage', 
'http://img.combats.com/i/inf.gif'); 

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

1. Image must be inserted.
2. It does not appear.

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

SVN trunk rev. 33

Please provide any additional information below.

Also some refactoring and new cool insertHtml method added.

Example of use:
ed.wysiwyg('insertHtml', '<div class="notice">I am cool!</div>');

Original issue reported on code.google.com by akzhan.a...@gmail.com on 4 Dec 2009 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
Simply apply the patch and get it worked in IE8.

Also insertHtml added that enables to customize editor behaviour widely.

Original comment by akzhan.a...@gmail.com on 4 Dec 2009 at 3:42

GoogleCodeExporter commented 8 years ago
Path applied to trunk.

Original comment by akzhan.a...@gmail.com on 6 Dec 2009 at 4:34