Is there any way to solve the following problem?
A user attempting to copy paste the following code acquired from youtube:
<iframe width="560" height="349" src="http://www.youtube.com/embed/xw5rlNKB2yE" frameborder="0" allowfullscreen></iframe>
will have their embed code changed into:
<iframe width="560" height="349" src="a href="http://www.youtube.com/embed/xw5rlNKB2yE"http://www.youtube.com/embed/xw5rlNKB2yE/a" frameborder="0" allowfullscreen></iframe>
as you can see, the src field is automatically changed into an anchor.
This problem only occurs in internet explorer, where the editor looks at the expression, and upon submission (not before) changes the value inside src to an anchor. In IE, the editor visibly changes the url pattern into a link (underlines it and changes the text color to blue). In chrome/firefox, no urls are changed without using the link button.
Notes:
The website I develop for is currently using fckeditor 2.6.3
This phenomenon was tested and confirmed for ie8/9
Thu, 07/28/2011 - 02:14
#1