Tiny MCE--> Relative Absolute URL for Images IE and Firefox different
This commit is contained in:
parent
1b1804fc16
commit
ff03aebfd3
4 changed files with 5 additions and 35 deletions
|
|
@ -176,7 +176,7 @@ function createLink() {
|
|||
alert("@{[$i18n->get("link enter alert")]}");
|
||||
document.getElementById("url_formId").focus();
|
||||
}
|
||||
var link = '<a href="'+"^" + "/" + ";" + document.getElementById("url_formId").value+'"';
|
||||
var link = '<a href="'+"^" + "/(" + document.getElementById("url_formId").value+');"';
|
||||
var target = document.getElementById('target_formId').value;
|
||||
if (target != '_self') link += ' target="' + target + '"';
|
||||
link += '>' + window.opener.tinyMCE.selectedInstance.selection.getSelectedHTML() + '</a>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue