qualcentric-web-solutions / whizzywig

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

Dragging an image causes src directory info to vanish -- only the filename remains #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create an img with src=images/test.jpg
2. drag image to a new spot in the text
3. look at the html:  now src=test.jpg

What is the expected output? What do you see instead?
I expect the img src field to stay as images/test.jpg instead of changing to 
test.jpg

What version of the product are you using? On what operating system?
63, Mac OSX 10.6.8

Please provide any additional information below.
whizzywig does not entirely lose the img src information -- if you double click 
the image it shows the full path and if you then insert it whizzywig uses the 
full path.  Also the whizzywig edit box shows the image correctly in non-html 
mode, just the html is wrong.  But that screws up an editor that uses the html.

The fact that whizzywig also normally changes the img src from a local path to 
an absolute path is also a bug in my opinion but I could live with it.

Original issue reported on code.google.com by Thomas.Y...@gmail.com on 2 Sep 2011 at 12:47

GoogleCodeExporter commented 8 years ago
Hi, can you please state what bowser and browser version you are using to 
reproduce this error?

Original comment by unve...@gmail.com on 11 Oct 2011 at 10:24

GoogleCodeExporter commented 8 years ago
Related kind of issue : when posting the textarea, Whizzywig does not convert 
the href links from relative to absolute under Chrome but does under IE. When 
reopening, the HTML is not modified but the editor proposes an absolute link 
(instead of relative) in both browsers.

Original comment by Gael.Jab...@gmail.com on 9 Nov 2011 at 11:34

GoogleCodeExporter commented 8 years ago
The next release will endeavour to preserve href in links and src in images. In 
other words, if the user entered a relative url, the editor will keep it as a 
relative url.

However this will not prevent the browser from changing the URL on form 
submission. In particular, IE will modify addresses if the form originated on a 
different server - e.g. you are developing on a local host but submitting forms 
to an Internet server.
You may see the message:

"IE has modified this page to help prevent cross-site scripting"

Original comment by unve...@gmail.com on 10 Nov 2011 at 3:41