Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
Support
Last post
Mon, 04/25/2005 - 10:38
#1
villemattila
Joined:
23/01/2006
Posts:
5
Returning the URL from custom link browser
Mon, 04/25/2005 - 10:38
#2
alexduffield
Joined:
25/04/2005
Posts:
22
RE: Returning the URL from custom link browser
I just solved this same problem with the Image browser, using a custom browser... the Javascript used in that case was
window.opener.SetUrl( url, imageW, imageH, alt );
you can see the functions your looking for in the file fck_link.js.. the last function is
function SetUrl( url )
{
document.getElementById('txtUrl').value = url ;
OnUrlChange() ;
}
so you would call
window.opener.SetUrl( url )
God I love FCKeditor!!
Thanks Fred!!!!
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: Returning the URL from custom link browser
window.opener.SetUrl( url, imageW, imageH, alt );
you can see the functions your looking for in the file fck_link.js.. the last function is
function SetUrl( url )
{
document.getElementById('txtUrl').value = url ;
OnUrlChange() ;
}
so you would call
window.opener.SetUrl( url )
God I love FCKeditor!!
Thanks Fred!!!!