hello,
I want to add to inserting link an icon and a filesize and date of linking file.
the problem is i can't find in code where script returns link. i can modify only parameters of link (egz. style, href), but i can't find out where to modify selected text to recieve something like this:
selected text: my file
link: <code><img src=pdf.gif> <a href=my_file.pdf>my file</a> 56kb 2005-05-11</code>
I want to add to inserting link an icon and a filesize and date of linking file.
the problem is i can't find in code where script returns link. i can modify only parameters of link (egz. style, href), but i can't find out where to modify selected text to recieve something like this:
selected text: my file
link: <code><img src=pdf.gif> <a href=my_file.pdf>my file</a> 56kb 2005-05-11</code>
RE: modyfing link (file icons)
RE: modyfing link (file icons)
i've resolved the problem by setting innerHTML or innerText in oLink object in Ok() function, file editor/dialog/fck_link/fck_link.js.
however, i still don't know how to set the text outside <a> tag