When we try to link an image we get a Js error
Error: this.$ is undefined on line 11 in ckeditor.js
this is the function:
This is the link to the code:
Ver. 3.1.2
Error: this.$ is undefined on line 11 in ckeditor.js
this is the function:
Code:
function submitLink($funcNum, $url) {
if(window.opener){
window.opener.CKEDITOR.tools.callFunction($funcNum, $url);
}
window.close();
}
Code:
<a class="primarylink" onclick="submitLink(1,'http://website.com/data/uploads/employee-portraits/image-name.jpg')" href="javascript:void(0)" title="Select file: image-name.jpg">image-name.jpg</a>
Ver. 3.1.2