Jean-calvin / whizzywig

Automatically exported from code.google.com/p/whizzywig
MIT License
0 stars 0 forks source link

Cannot attach a URL to an embedded image it the "Open in new window" checkbox is checked #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new Whyzziwig block
2. Click on the "Insert Image" button on the Whyzziwig toolbar
3. Enter the URL of an image, e.g. 
https://kerika.com/website/images/kerika_126x60.png.  Enter some alt text, e.g. 
"Kerika logo"
4. The picture appears correctly within the Whyzziwig block.  Now, select the 
picture with your mouse and click on the "Insert Link" button the Whyzziwig 
toolbar.
5. Enter a URL, e.g. https://kerika.com/website/index.jsp.
6. By default, the "Open link in new window" checkbox is unchecked.

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

Expected output: after creating the Whyzziwig block, the user should be able to 
click on the picture and get taken to the URL that's linked to the image.  This 
works only when, in Step 6 above, the "Open link in new window" is left 
unchecked.  If the checkbox is checked, the image that you entered in step 3 
disappears, leaving only the alt text.

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

Version 61, Mac OS X Snow Leopard, Firefox 4/5/6, but we are reasonably sure it 
happens on other browsers and on Windows as well.

Please provide any additional information below.

This is an important feature for us; we will try to fix it ourselves and if we 
are successful we will submit the code for you to consider using in the main 
branch.

Attached is a short demo of the problem.  In the first part, I create a 
Whyzziwig block with an image, and then apply a link to it with the "Open in 
new window" checkbox checked.  The image gets replaced with the alt text.  In 
the second part of the demo, the "Open in new window" checkbox is unchecked, 
and the result is a HTML block containing an image with a link attached, so 
that I can click on the image and go to the URL.

Original issue reported on code.google.com by a...@kerika.com on 23 Aug 2011 at 7:13

Attachments:

GoogleCodeExporter commented 8 years ago
This problem was fixed a while back. I see from your website that you are using 
Whizzywig 61.Please download and use Whizzywig 63 and your problem will be 
solved.

Interesting website, BTW.

Original comment by unve...@gmail.com on 9 Oct 2011 at 4:11