fix: Rich Editor - Add Asset Link doesn't work with images.
This commit is contained in:
parent
717429037d
commit
126978314f
2 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ function createLink() {
|
|||
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.tinyMceSelectedText + '</a>';
|
||||
link += '>' + window.opener.tinyMCE.selectedInstance.selection.getSelectedHTML() + '</a>';
|
||||
window.opener.tinyMCE.execCommand("mceInsertContent",false,link);
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue