I have changed the txtUrl field on the fck_link.html page from a text to a file input tag so that users can browse their local drives .
From:
<input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
To:
<input id="txtUrl" style="WIDTH: 100%" type="file" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
This works fine when selecting a file, But when editing an existing hyperlink the address in the file box remains blank and is not retrieved from the text editor as it is when it is a text tag, even though I have given it the same ID etc.
Is there a line of code I should be looking to change so that when a users selects Edit Link, the file tag is populated in the same way as the text tag? I have searched all the relevant js files but can't find anything to suggest that this should not work as I have done it.
Thanks
Jon
From:
<input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
To:
<input id="txtUrl" style="WIDTH: 100%" type="file" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
This works fine when selecting a file, But when editing an existing hyperlink the address in the file box remains blank and is not retrieved from the text editor as it is when it is a text tag, even though I have given it the same ID etc.
Is there a line of code I should be looking to change so that when a users selects Edit Link, the file tag is populated in the same way as the text tag? I have searched all the relevant js files but can't find anything to suggest that this should not work as I have done it.
Thanks
Jon